You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These PRs implement a migration away from our seismic-trie fork and back to using stock alloy-trie, by changing the way we RLP encode FlaggedStorage slots.
Migrates from seismic-trie fork to standard alloy-trie with FlaggedStorage-aware wrapper functions from seismic-alloy-trie.
Phase 1
crates/trie/common/src/hash_builder/state.rs:109-144 — HashBuilderState::from_compact() no longer reads the is_private byte that was serialized in the previous version. Existing MDBX data with HashBuilderState will fail to decode correctly — the deserializer expects the stored_in_database byte where the is_private byte used to be, causing field misalignment.
Phase 2
crates/trie/common/src/hash_builder/state.rs:651-660 — Removed test hash_builder_state_regression_with_private but no replacement test ensures the new FlaggedStorage approach works correctly with compact encoding. Consider adding a test that verifies FlaggedStorage encoding/decoding in the context where is_private was previously used.
.github/workflows/seismic.yml:7 — Removed branches: [seismic] from pull_request trigger. This means the workflow will now run on PRs targeting any branch, which may not be intended for a seismic-specific workflow.
This appears to be a coordinated breaking change that requires careful deployment coordination since the compact codec format changes. The PR description correctly marks it "DO NOT MERGE" pending audit completion, which is appropriate given the backward compatibility implications.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related to:
DO NOT MERGE
Depends on:
These PRs implement a migration away from our seismic-trie fork and back to using stock alloy-trie, by changing the way we RLP encode FlaggedStorage slots.
See design in https://hackmd.io/ZOGfcUP2SyKmPeOuz0tmvg
Diff with upstream
this branch vs main (upstream)
seismic branch vs main branch