setBlockTimestampInterval
Similar to increaseTime
, but sets a block timestamp interval
. The timestamp of future blocks will be computed as lastBlock_timestamp
+ interval
.
Usage
ts
import { testClient } from '.'
await testClient.setBlockTimestampInterval({
interval: 5
})
Parameters
interval
- Type:
number
ts
await testClient.setBlockTimestampInterval({
interval: 1
})