Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

investigate timestamp drift with deploying using anvil automine #3242

Open
holic opened this issue Sep 30, 2024 · 0 comments
Open

investigate timestamp drift with deploying using anvil automine #3242

holic opened this issue Sep 30, 2024 · 0 comments

Comments

@holic
Copy link
Member

holic commented Sep 30, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant