@ethereumjs/statemanager / fromMerkleStateProof
fromMerkleStateProof(
proof
,safe
,opts
):Promise
<MerkleStateManager
>
Defined in: proof/merkle.ts:116
Create a StateManager and initialize this with proof(s) gotten previously from getProof This generates a (partial) StateManager where one can retrieve all items from the proof
Either a proof retrieved from getProof
, or an array of those proofs
Proof |
Proof [] |
boolean
= false
Whether or not to verify that the roots of the proof items match the reported roots
a dictionary of StateManager opts
Promise
<MerkleStateManager
>
A new MerkleStateManager with elements from the given proof included in its backing state trie