reset
Resets the fork back to its original state.
Usage
example.ts
import { testClient } from './client'
 
await testClient.reset() Parameters
blockNumber (optional)
- Type: bigint
Resets the fork to a given block number.
await testClient.reset({
  blockNumber: 69420n, 
  jsonRpcUrl: 'https://mainnet.g.alchemy.com/v2'
})jsonRpcUrl (optional)
- Type: string
Resets the fork with a given JSON RPC URL.
await testClient.reset({
  blockNumber: 69420n,
  jsonRpcUrl: 'https://mainnet.g.alchemy.com/v2'
})
