Skip to content

Nightly fix 26-05-30 - Use evmTetragrams format for EVM address assertions in send-base#28195

Open
github-actions[bot] wants to merge 3 commits into
developfrom
fix/nightly-2026-05-30-evm-address-format-t3w1
Open

Nightly fix 26-05-30 - Use evmTetragrams format for EVM address assertions in send-base#28195
github-actions[bot] wants to merge 3 commits into
developfrom
fix/nightly-2026-05-30-evm-address-format-t3w1

Conversation

@github-actions
Copy link
Copy Markdown

Nightly fix — 2026-05-30

Task: fix-001
Scope: TEST_CODE
Result: ✅ pass

Root cause

T3W1 firmware now renders EVM addresses in evmTetragrams format (leading 0x + 4-char chunks of body), but send-base.test.ts was using the default fourTetragrams format (splits the entire address including 0x prefix every 4 chars).

Fix

In suite/e2e/tests/wallet/send-base.test.ts, changed both calls from transformAddress(sendAddress) to transformAddress(sendAddress, 'evmTetragrams'):

  • Line 87: "User can set custom fees" — Verify Recipient address step
  • Line 178: "User can perform ethereum sending on base network" — Verify Recipient address step

The 'evmTetragrams' format uses formatEvmAddress() which prepends two spaces before 0x and splits the hex body into 4-char chunks, matching the current T3W1 firmware display output.

Validations

Status Platform Group Spec
desktop T3W1 suite/e2e/tests/wallet/send-base.test.ts

Commits

2fbe63e test(e2e): use evmTetragrams format for EVM address display assertions in send-base

Prompt gaps

  • The pre-flight initially failed with an Electron sandbox error (chrome-sandbox permissions) and then an openpgp module missing error — both environment setup issues. These were fixed by running sudo chmod 4755 on the sandbox binary and installing the missing openpgp dependency via yarn workspace @trezor/suite-desktop add openpgp. The prompt does not mention these environment fixes; they were needed to make the test runner work at all.

Vere-Grey and others added 3 commits May 29, 2026 17:28
…s in send-base

T3W1 firmware now renders EVM addresses in evmTetragrams format (two leading
spaces before '0x', then hex body split into 4-char chunks). Update both
transformAddress calls in send-base.test.ts to pass 'evmTetragrams' as the
second argument so the assertions match the firmware output.
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