You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, chunkifyCode in TrieKeyAdaptor has been implemented and tested on two contract's bytecode.
However, we are uncertain of the validity of the current implementation in the case of PUSH32.
The ultimate edge-case would be to have a PUSH32 opcode at a position a multiple of 31. This would mean that the next code chunk is made of only push data, and that data even spills one byte into the next-next chunk.
Expected
A testcase for the described edge-case. It should be added to the JSON test file.
If test fails, correct the current implementation so that it passes.
The text was updated successfully, but these errors were encountered:
neotheprogramist
pushed a commit
to visoftsolutions/besu-verkle-trie-old
that referenced
this issue
Nov 18, 2023
…uadratic-Labs#12)
PedersenHash wraps the besu-native pedersen commit and hash functions.
It is used now in TrieKeyAdaptor to generate trie-keys
Signed-off-by: Thomas Zamojski <[email protected]>
Description
Currently, chunkifyCode in TrieKeyAdaptor has been implemented and tested on two contract's bytecode.
However, we are uncertain of the validity of the current implementation in the case of PUSH32.
The ultimate edge-case would be to have a PUSH32 opcode at a position a multiple of 31. This would mean that the next code chunk is made of only push data, and that data even spills one byte into the next-next chunk.
Expected
The text was updated successfully, but these errors were encountered: