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
Create a function that, given a read list, trims off irrelevant trie nodes (the ones not in the list) from a SMT by turning them into hash nodes. The signature will be something like below:
Create a function that, given a read list, trims off irrelevant trie nodes (the ones not in the list) from a SMT by turning them into hash nodes. The signature will be something like below:
TxnInfo:
cdk-erigon/core/types/trace.go
Lines 86 to 89 in dae09e3
The implementation will be similar to:
cdk-erigon/smt/pkg/smt/witness.go
Line 121 in c2d0368
To verify the correctness of the implementation, the state root of the trimmed SMT should match to that of original SMT.
The text was updated successfully, but these errors were encountered: