Pedersen commit and hash use big-endian instead of little-endian.
However, that means that all bytes have to be reverted at every call in besu-verkle-trie.
For efficiency, we rather have to revert bytes in tests but not in the app.
Expected
Native side received LE-bytes and return LE-bytes in commit and hash JNI functions.
Description
Pedersen commit and hash use big-endian instead of little-endian. However, that means that all bytes have to be reverted at every call in besu-verkle-trie. For efficiency, we rather have to revert bytes in tests but not in the app.
Expected
Native side received LE-bytes and return LE-bytes in commit and hash JNI functions.