loadStateHandler
loadStateHandler(
client
,options
?):LoadStateHandler
Creates a handler for loading a previously dumped state into the VM.
Parameters
• client: TevmNode
<"fork"
| "normal"
, object
>
The base client instance.
• options? = {}
Optional configuration.
• options.throwOnFail?: undefined
| boolean
Whether to throw an error when a failure occurs.
Returns
- The handler function.