mud icon indicating copy to clipboard operation
mud copied to clipboard

investigate timestamp drift with deploying using anvil automine

Open frolic opened this issue 1 year ago • 0 comments

In #3130, we automatically detect and toggle automine during deploy, if available. However, with lots of transactions, this can cause the block.timestamp to drift, which may cause downstream issues if the block timestamp is ahead of the system timestamp.

We should look if we can set block time interval to zero via anvil_setBlockTimestampInterval during the deploy and revert back to the original interval once deploy is complete.

frolic avatar Sep 30 '24 17:09 frolic