How to Advance/Mine the Block
In general, every Simulation on top of the Tenderly Fork would increase the block number. Here we are going to show you how to increase it by an arbitrary value.
We are going to utilize a custom tenderly RPC call evm_increaseBlocks:
1
...
2
โ€‹
3
const params = [
4
ethers.utils.hexValue(10) // hex encoded number of blocks to increase
5
];
6
โ€‹
7
await provider.send('evm_increaseBlocks', params)
Copied!
Copy link