From 393716499e96f1b821433aec64bd211c1f45396d Mon Sep 17 00:00:00 2001 From: Dylan Tinianov Date: Fri, 20 Nov 2026 15:02:10 -0500 Subject: [PATCH 1/2] Add l1_fee to the EVM Receipt message 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 --- cre/capabilities/blockchain/evm/v1alpha/client.proto | 1 + 1 file changed, 1 insertion(+) diff --git a/cre/capabilities/blockchain/evm/v1alpha/client.proto b/cre/capabilities/blockchain/evm/v1alpha/client.proto index a51b18fa..134574de 100644 --- a/cre/capabilities/blockchain/evm/v1alpha/client.proto +++ b/cre/capabilities/blockchain/evm/v1alpha/client.proto @@ -141,6 +141,7 @@ message Receipt { values.v1.BigInt effective_gas_price = 8; // actual gas price paid in wei (include after EIP-1559) values.v1.BigInt block_number = 9; // block number containing the transaction bytes contract_address = 10; // address of the contract if this transaction created one in evm address [20]byte fix-sized array format + values.v1.BigInt l1_fee = 11; // L1 data fee paid on top of gas (L2 chains only), in wei } // ----- Request/Reply Wrappers ----- From 9f570550b870ffb41b6df4ea5fc433232668ebec Mon Sep 17 00:00:00 2001 From: "app-token-issuer-engops[bot]" <144731339+app-token-issuer-engops[bot]@users.noreply.github.com> Date: Fri, 20 Nov 2026 20:15:33 +0000 Subject: [PATCH 2/2] Auto-fix: buf format, gofmt, go generate, go mod tidy --- cre/go/installer/pkg/embedded_gen.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cre/go/installer/pkg/embedded_gen.go b/cre/go/installer/pkg/embedded_gen.go index 165fd778..bfb1b4a9 100755 --- a/cre/go/installer/pkg/embedded_gen.go +++ b/cre/go/installer/pkg/embedded_gen.go @@ -345,6 +345,7 @@ message Receipt { values.v1.BigInt effective_gas_price = 8; // actual gas price paid in wei (include after EIP-1559) values.v1.BigInt block_number = 9; // block number containing the transaction bytes contract_address = 10; // address of the contract if this transaction created one in evm address [20]byte fix-sized array format + values.v1.BigInt l1_fee = 11; // L1 data fee paid on top of gas (L2 chains only), in wei } // ----- Request/Reply Wrappers -----