Repository navigation
Add l1_fee to the EVM Receipt message - #489
Merged
Merged
Conversation
The receipt's L1 data fee (OP-stack chains) is parsed host-side but cannot cross the loop boundary to the capability: the wire message has no field for it, so the capability meters gas without it and under-reports the transaction's cost by exactly the L1 fee. Co-Authored-By: Claude Code <noreply@anthropic.com>
product-security-plaid-production
Bot
requested a review
from gustavogama-cll
November 20, 2026 20:14
|
product-security-plaid-production
Bot
requested review from
Krish-vemula and
jmank88
November 20, 2026 20:14
Contributor
|
The latest Buf updates on your PR. Results from workflow Regenerate Protobuf Files / buf (pull_request).
|
patrickhuie19
approved these changes
Nov 20, 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.
What
Adds the optional
l1_feefield (field 11,values.v1.BigInt) to the EVMReceiptmessage incre/capabilities/blockchain/evm/v1alpha/client.proto.Why
The receipt's L1 data fee (OP-stack chains) is parsed host-side but cannot cross the loop boundary to the capability: the wire message has no field for it, so the capability meters gas without it and under-reports the transaction's cost by exactly the L1 fee (
gasUsed × effectiveGasPriceinstead of+ l1_fee). Backward compatible: a new optional field, old readers ignore it.🤖 Generated with Claude Code