Versions in this module Expand all Collapse all v1 v1.0.2 Jan 15, 2024 v1.0.1 Jan 15, 2024 Changes in this version + func FillBlockTraceForMPTWitness(order MPTWitnessType, block *types.BlockTrace) error + func HandleTx(od opOrderer, txResult *types.ExecutionResult) + func NewRWTblOrderer(inited map[common.Address]*types.StateAccount) *rwTblOrderer + func NewSimpleOrderer() *simpleOrderer + func NewZkTrieProofWriter(storage *types.StorageTrace) (*zktrieProofWriter, error) + func SetOrderScheme(t MPTWitnessType) + type MPTWitnessType int + const MPTWitnessNatural + const MPTWitnessNothing + const MPTWitnessRWTbl + type SMTPath struct + KeyPathPart *hexutil.Big + Leaf *SMTPathNode + Path []SMTPathNode + Root hexutil.Bytes + type SMTPathNode struct + Sibling hexutil.Bytes + Value hexutil.Bytes + type StateAccount struct + Balance *hexutil.Big + CodeSize uint64 + KeccakCodeHash hexutil.Bytes + Nonce int + PoseidonCodeHash hexutil.Bytes + type StateStorage struct + Key hexutil.Bytes + Value hexutil.Bytes + type StorageTrace struct + AccountKey hexutil.Bytes + AccountPath [2]*SMTPath + AccountUpdate [2]*StateAccount + Address hexutil.Bytes + CommonStateRoot hexutil.Bytes + StateKey hexutil.Bytes + StatePath [2]*SMTPath + StateUpdate [2]*StateStorage + func HandleBlockTrace(block *types.BlockTrace) ([]*StorageTrace, error) + func HandleBlockTraceEx(block *types.BlockTrace, ordererScheme MPTWitnessType) ([]*StorageTrace, error)