Skip to content

fix(anvil): rewind Monad rollback profile - #16154

Open
haythemsellami wants to merge 1 commit into
foundry-rs:masterfrom
haythemsellami:agent/fix-anvil-monad-rollback
Open

fix(anvil): rewind Monad rollback profile#16154
haythemsellami wants to merge 1 commit into
foundry-rs:masterfrom
haythemsellami:agent/fix-anvil-monad-rollback

Conversation

@haythemsellami

@haythemsellami haythemsellami commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Fixes #16144.

This restores Monad's inferred execution profile when anvil_rollback or anvil_reorg removes a transaction-hash replay block. The retained block now determines the hardfork/spec, fee and blob rules, and coherent next-block fee state, while explicit hardfork overrides remain fixed. Transaction-hash forks can also resolve their remote parent header as a rollback ancestor, and chain rewinds publish under the lifecycle write lock.

This is stacked on #16151 so the fork endpoint identity remains immutable while the current fork hardfork follows the canonical head. It also scopes the new #16151 test guards so Clippy does not consider them live across reset awaits and pins the replacement-endpoint test's genesis timestamp so its fork-block hash is deterministic.

@github-actions

Copy link
Copy Markdown
Contributor

✅ Changelog found

The deterministic check will validate the changed entry.

@haythemsellami
haythemsellami changed the base branch from master to mablr/anvil-node-info-lifecycle August 12, 2026 09:28
@haythemsellami
haythemsellami marked this pull request as ready for review August 12, 2026 09:55
@mablr
mablr deleted the branch foundry-rs:master August 12, 2026 19:03
@mablr mablr closed this Aug 12, 2026
@github-project-automation github-project-automation Bot moved this to Done in Foundry Aug 12, 2026
@mablr mablr reopened this Aug 13, 2026
@mablr
mablr deleted the branch foundry-rs:master August 13, 2026 09:29
@mablr mablr closed this Aug 13, 2026
@mablr mablr reopened this Aug 13, 2026
@mablr
mablr changed the base branch from mablr/anvil-node-info-lifecycle to master August 13, 2026 09:30
Preserve rollback protocol state and serialize rewind transitions so direct and RPC callers observe a consistent chain. Stabilize endpoint identity tests for context-equivalent replacement endpoints.
@mablr
mablr force-pushed the agent/fix-anvil-monad-rollback branch from 08177fb to 1bbb7d7 Compare August 13, 2026 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

bug(anvil): rollback leaves inferred Monad hardfork stale

2 participants