XDagger/xdagj

Refactor : Bytes Operation Refactor

LucasMLK opened this issue · 0 comments

Problem Description
There are many places to manipulate byte arrays in the code, and many third-party tools are used, which makes developers extremely prone to errors when operating. It is recommended to use a unified bytecode manipulation tool to facilitate large-scale use in the future.

Suggestion(option)
Apache tuweni toolkit structured many blockchain byte manipulation toolkits, such as hash using 32 bytes, Bytes32, MutableBytes32 and other very useful tools. It is recommended to use this tool to refactor the code.