Conversation
nekomoto911
approved these changes
Sep 18, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Fixes Galxe/gravity-sdk#838.
Full nodes prune sender records, so historical RPC reads fail when Gravity system transactions with unrecoverable signatures leave the block cache. Recover missing senders from signatures and fall back to
SYSTEM_CALLERfor committed transactions, while preserving persisted sender entries.Apply this to single-block and range reads, static-file sender lookups, and the independent
eth_getTransactionReceiptcache-miss path. RESS witness lookup now reuses recovered blocks.eth_getTransactionByHashalready has the fallback. Incoming transaction signature validation remains unchanged.Verification
cargo test -p reth-provider --lib: 66 tests passed, including full and partial sender pruning with database and static-file storage.cargo check -p reth-rpc-eth-api -p reth-ress-provider: passed; changed Rust files pass nightly rustfmt.gravity_nodewithRUSTFLAGS="--cfg tokio_unstable"and--profile quick-releaseagainst this local reth tree.full, with zero sender-table entries and no backfill.Scope
The fallback assumes unrecoverable committed transactions are Gravity system transactions; legacy testnet transactions with exceptional senders are outside scope. No migration or pruning configuration change is required. State, receipt, and transaction-lookup retention limits remain unchanged. RESS was compile-checked; live peer/witness integration and alternative staged-sync imports were not tested.