Skip to content

bugc-react: show instruction offsets in hex#253

Merged
gnidan merged 1 commit into
mainfrom
ui-instruction-offsets-hex
Jul 13, 2026
Merged

bugc-react: show instruction offsets in hex#253
gnidan merged 1 commit into
mainfrom
ui-instruction-offsets-hex

Conversation

@gnidan

@gnidan gnidan commented Jul 13, 2026

Copy link
Copy Markdown
Member

The bytecode disassembly in the BUG playground lists each instruction with its program-counter offset. Those offsets were rendered in decimal, but EVM offsets/PCs are conventionally hexadecimal.

Render each offset as a lowercase, 0x-prefixed hex value, matching the convention already used for the raw bytecode hex and PUSH immediates in the same view. Display-only change; no data or semantics are affected.

Render the per-instruction program-counter offset in the bytecode
disassembly as a 0x-prefixed hexadecimal value instead of decimal.
EVM offsets/PCs are conventionally hex, and the surrounding output
(bytecode hex, PUSH immediates) already uses lowercase 0x-prefixed
hex, so this makes the instruction listing consistent.
@github-actions

github-actions Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-07-13 04:38 UTC

@gnidan gnidan merged commit 7fc845b into main Jul 13, 2026
4 checks passed
@gnidan gnidan deleted the ui-instruction-offsets-hex branch July 13, 2026 04:34
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