fix: bump cosmos/evm fork to v0.6.2-august-2026-hotfix-xrplevm.2 - #155
Merged
AdriaCarrera merged 1 commit intoSep 15, 2026
Merged
Conversation
Picks up the port of cosmos/evm#1107, which stops StateDB commit error transactions from being included in the Ethereum view of a block. Without it, any block containing such a tx permanently fails every block-level JSON-RPC method with "invalid message index: 0". Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Bumps the
cosmos/evmfork pin tov0.6.2-august-2026-hotfix-xrplevm.2, which carries the port of cosmos/evm#1107 (xrplevm/evm-ghsa-aug-2026#1).Target for the v10.2.1 release.
Why
The bug this picks up is currently being triggered on mainnet. Ripple reported a recurring alert on the mainnet RPC endpoint (chainId 1440000); these blocks return, permanently:
Affected so far: 7702162, 7702575, 7702970, 7703783, 7704455, 7704803, 7704933 — all carrying the same failing tx, which sends non-zero native value to the
erc20module account.An EVM tx that moves a non-zero native amount to a module account is rejected at
stateDB.Commit(), so the Cosmos tx fails withcode: 4and, having failed at commit, carries no response payload (data: null). The RPC layer still admitted that class of tx into the Ethereum view of the block, then tried to decode logs out of the empty payload —invalid message index: 0. That error is fatal for the whole block, so every block-level RPC method at that height fails permanently on an unpatched node, breaking indexers, explorers, subgraphs and bridges.Read-path only: no state migration, no resync, no consensus impact. Safe to roll out to RPC/full nodes without validator coordination.
The change
go.mod(thereplacedirective) and the two correspondinggo.sumlines. No code changes.Verification
Confirmed the tag actually contains the fix rather than trusting the name — in the resolved module under
GOMODCACHE:TxSucessOrExpectedFailureis nowres.Code == 0 || TxExceedBlockGasLimit(res), with theTxStateDBCommitErrorclause gone.StateDBCommitErrorreferences remain inrpc/orindexer/outside tests.go build ./...is clean andgo mod tidyis a no-op. Test suite left to CI.After this merges
Cut v10.2.1 and deploy to the mainnet RPC/full nodes. Note the public testnet RPC (
rpc.testnet.xrplevm.org) is still on v11.1.0 and also unpatched — only the full-history node got v11.1.1.🤖 Generated with Claude Code