Skip to content

fix: preserve dumpState deployment order#15875

Open
stevencartavia wants to merge 5 commits into
masterfrom
steven/dump-state-ordering
Open

fix: preserve dumpState deployment order#15875
stevencartavia wants to merge 5 commits into
masterfrom
steven/dump-state-ordering

Conversation

@stevencartavia

Copy link
Copy Markdown
Member

Preserves deployment order for accounts created in the current transaction when vm.dumpState writes genesis allocations, while retaining deterministic address ordering for all remaining accounts. Creation tracking follows reverts, snapshots, and active forks so the output reflects the surviving state.

Closes #8503.

Comment thread crates/cheatcodes/src/inspector.rs Outdated
Comment thread crates/cheatcodes/src/evm.rs Outdated
Comment thread crates/cheatcodes/src/evm/fork.rs
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

Successfully merging this pull request may close these issues.

bug(cheatcodes): vm.dumpState inconsistent address ordering w.r.t. deployment order

2 participants