Skip to content

fix(evm): stabilize skipped transaction reason encoding - #410

Merged
AshinGau merged 1 commit into
mainfrom
feat/skipped-transaction-receipts
Jul 28, 2026
Merged

fix(evm): stabilize skipped transaction reason encoding#410
AshinGau merged 1 commit into
mainfrom
feat/skipped-transaction-receipts

Conversation

@AshinGau

Copy link
Copy Markdown
Collaborator

Follow-up to #393.

Native reth returns InvalidTransaction as an execution error and does not produce a receipt, so diagnostic fields such as InvalidTransaction::Str messages are not consensus data.

Encoding the full error in Gravity’s synthetic receipt would make implementation details part of the receipts root; this PR instead assigns immutable reason codes to every current variant, requires future variants to append codes, reserves removed codes, and removes postcard/revm serde.

@AshinGau AshinGau added the bug Something isn't working label Jul 28, 2026
@AshinGau
AshinGau merged commit ce51167 into main Jul 28, 2026
36 of 38 checks passed
@nekomoto911
nekomoto911 deleted the feat/skipped-transaction-receipts branch August 3, 2026 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants