setNextBlockTimestamp
Sets the next block's timestamp.
Usage
import { testClient } from './client'
await testClient.setNextBlockTimestamp({
timestamp: 1671744314n
})
Parameters
timestamp
- Type:
bigint
await testClient.setNextBlockTimestamp({
timestamp: 1671744314n
})
Notes
- The next Block
timestamp
cannot be lesser than the current Blocktimestamp
.