StateOptions
StateOptions:
object
Type declaration
currentStateRoot?
optional
currentStateRoot:Hex
fork?
optional
fork:ForkOptions
genesisState?
optional
genesisState:TevmState
loggingLevel?
optional
readonly
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
Source
packages/state/src/state-types/StateOptions.ts:8