StateOptions
StateOptions:
object
Type declaration
accountsCache?
readonly
optional
accountsCache:AccountCache
Optionally configure the accounts cache
contractCache?
readonly
optional
contractCache:ContractCache
Optionally configure and pass in your own ContractCache
currentStateRoot?
optional
currentStateRoot:Hex
fork?
optional
fork:ForkOptions
genesisState?
optional
genesisState:TevmState
loggingLevel?
readonly
optional
loggingLevel:LogOptions
["level"
]
Configure logging options for the client
onCommit()?
optional
onCommit: (stateManager
) =>void
Called when state manager commits state
Parameters
• stateManager: BaseState
Returns
void
stateRoots?
optional
stateRoots:StateRoots
storageCache?
readonly
optional
storageCache:StorageCache
Optionally configure and pass in your own StorageCache