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