Skip to content

Label EIP-8312 UTXO frames in the frame command - #247

Open
ilitteri wants to merge 1 commit into
hegota-devnetfrom
hegota-devnet-utxo-label
Open

Label EIP-8312 UTXO frames in the frame command#247
ilitteri wants to merge 1 commit into
hegota-devnetfrom
hegota-devnet-utxo-label

Conversation

@ilitteri

@ilitteri ilitteri commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Motivation

rex frame inspect rendered a UTXO frame as RESERVED, because the mode table stops at POST_TX. EIP-8312 has now landed on ethrex's hegota-devnet, which this branch tracks.

Description

Adds MODE_UTXO = 5 and 5 => "UTXO" to mode_name, plus the module header's mode list.

Mode 5 rather than the draft's 3: EIP-7906 already holds 3 for POST_TX upstream, and renumbering a mode with live history is worse than diverging from a draft. 4 stays reserved for EIP-8288.

Label only. Decoding the spend payload for display needs ethrex_common::types::Spend; that is now available on the pinned branch and is a natural follow-up.

How to Test

Against a devnet with EIP-8312 active:

rex frame inspect <utxo-tx-hash> --rpc-url <el-rpc>

Verified against a real transaction (block 4711 of a Hegotá-config devnet): the frame read RESERVED before this change and UTXO after. The self-funded payer is already reported correctly by the existing payer logic.

`rex frame inspect` rendered a UTXO frame as RESERVED, because the mode table
stops at POST_TX. Verified against a real transaction on a devnet with EIP-8312
active: the frame now reads UTXO, and the self-funded payer is already detected
correctly by the existing payer logic.

Mode 5 rather than the draft's 3: EIP-7906 had already taken 3 for POST_TX
upstream, and renumbering a mode that has live history is worse than diverging
from a draft. 4 stays reserved for EIP-8288.

This is the label only. Decoding the spend payload for display needs
ethrex_common::types::Spend, and this branch pins ethrex at hegota-devnet, so that
half unblocks when EIP-8312 merges there.
@ilitteri
ilitteri requested a review from a team as a code owner August 6, 2026 02:12
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.

1 participant