Skip to content

Add l1_fee to the EVM Receipt message - #489

Merged
DylanTinianov merged 2 commits into
capabilities-developmentfrom
evm-receipt-l1-fee-dev
Nov 20, 2026
Merged

DylanTinianov merged 2 commits into
capabilities-developmentfrom
evm-receipt-l1-fee-dev

Conversation

@DylanTinianov

Copy link
Copy Markdown
Contributor

What

Adds the optional l1_fee field (field 11, values.v1.BigInt) to the EVM Receipt message in cre/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 × effectiveGasPrice instead of + l1_fee). Backward compatible: a new optional field, old readers ignore it.

🤖 Generated with Claude Code

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>
@changeset-bot

changeset-bot Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 9f57055

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

The latest Buf updates on your PR. Results from workflow Regenerate Protobuf Files / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed⏩ skippedNov 20, 2026, 8:16 PM

@app-token-issuer-engops
app-token-issuer-engops Bot requested a review from a team as a code owner November 20, 2026 20:15
@DylanTinianov DylanTinianov self-assigned this Nov 20, 2026
@DylanTinianov
DylanTinianov merged commit 397a885 into capabilities-development Nov 20, 2026
11 checks passed
@DylanTinianov
DylanTinianov deleted the evm-receipt-l1-fee-dev branch November 20, 2026 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants