Let’s say you have spawned a Tenderly Fork and now you have a hypothesis around X which may be time-dependent. To validate it, you’d want to increase the current time of the network in order to validate the hypothesis you have.
For example, you can see if a DAO proposal is going to be impacted by expiration or if there is a time lock implemented in the smart contract itself.
Let’s see how we can achieve this:
1
...
2
3
const params =[
4
ethers.utils.hexValue(24*60*60)// hex encoded number of seconds