@ethereumjs/evm / generateBinaryExecutionWitness
generateBinaryExecutionWitness(
stateManager,accessWitness,parentStateRoot):Promise<BinaryTreeExecutionWitness>
Defined in: binaryTreeAccessWitness.ts:395
Generate a BinaryTreeExecutionWitness from a state manager and an access witness.
BinaryTreeStateManagerInterface
The state manager containing the state to generate the witness for.
Any state manager exposing the binary tree surface works (see
BinaryTreeStateManagerInterface), e.g. StatefulBinaryTreeStateManager
from @ethereumjs/statemanager.
The access witness containing the accessed states.
Uint8Array
The parent state root (i.e. prestate root) to generate the witness for.
Promise<BinaryTreeExecutionWitness>
The generated binary tree execution witness