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