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

fix(anvil): on anvil_mine jump to next timestamp before mine new block #9241

Merged
merged 2 commits into from
Nov 1, 2024

Conversation

grandizzy
Copy link
Collaborator

@grandizzy grandizzy commented Nov 1, 2024

Motivation

Closes #8962

Solution

  • when anvil_mine jump to next timestamp before mining new block so the timestamp of first block mined respect interval

@grandizzy grandizzy marked this pull request as ready for review November 1, 2024 07:07
@grandizzy grandizzy merged commit 6b0c27e into foundry-rs:master Nov 1, 2024
21 checks passed
@grandizzy grandizzy deleted the issue-8962 branch November 1, 2024 09:05
rplusq pushed a commit to rplusq/foundry that referenced this pull request Nov 29, 2024
foundry-rs#9241)

* fix(anvil): on anvil_mine jump to next timestamp before mine new block

* Fix unrelated clippy, simplify test
@grandizzy grandizzy added T-bug Type: bug C-anvil Command: anvil labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-anvil Command: anvil T-bug Type: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(anvil): mining mode does not respect interval for the first block
2 participants