Skip to content

Label EIP-8312 UTXO frames on the transaction page - #1

Open
ilitteri wants to merge 1 commit into
frame-tx-viewfrom
frame-tx-view-utxo-label
Open

Label EIP-8312 UTXO frames on the transaction page#1
ilitteri wants to merge 1 commit into
frame-tx-viewfrom
frame-tx-view-utxo-label

Conversation

@ilitteri

@ilitteri ilitteri commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Motivation

A UTXO frame rendered as RESERVED(5): the mode table stops at POST_TX, so the explorer showed the frame but could not name it.

Description

Adds mode 5 to frameModeName. Mode 5 rather than the draft's 3, because EIP-7906 already holds 3 upstream and 4 is reserved for EIP-8288.

Also adds the package's first test, covering the whole table including that unknown modes still render RESERVED(n) — without one, this mapping silently falls behind the next mode allocation. Verified red before the change.

Label only. Rendering the spend payload (inputs, outputs, change index, proofs) needs an RLP decoder on this side, since dora does not consume the client's types.

How to Test

go test ./handlers/ -run TestFrameModeName

A UTXO frame rendered as RESERVED(5): the mode table stops at POST_TX, so the
explorer showed the frame but could not name it.

Mode 5 rather than the draft's 3, because EIP-7906 already holds 3 upstream and 4
is reserved for EIP-8288.

Adds a test for the whole table, including that unknown modes still render as
RESERVED(n) — the package had no tests, and without one this mapping is the kind of
thing that silently falls behind the next mode allocation. Verified red before the
change.

This is the label only. Rendering the spend payload — inputs, outputs, change
index, proofs — needs an RLP decoder on this side, since dora does not consume the
client's types.
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