LoadStateHandler: (params
) => Promise
<LoadStateResult
>
Loads a previously dumped state into the VM.
State can be dumped as follows:
Parameters
• params: LoadStateParams
The parameters for loading the state.
Returns
Promise
<LoadStateResult
>
The result of the load state operation.
Examples
And then loaded as follows:
Note: This handler is intended for use with the low-level TEVM TevmNode, unlike tevmLoadState
which is a higher-level API function.
Defined in
packages/actions/src/LoadState/LoadStateHandlerType.ts:40