fix: say a contract creation has no recipient instead of a blank line (closes #250)
check / check (push) Failing after 3s
e2e / e2e-chrome (push) Failing after 3s
e2e / e2e-firefox (push) Failing after 3s

A transaction with no `to` showed a blank recipient line on the wait,
success and error screens and the transaction detail view: an empty
address, with a colour dot whose colour was `undefined`. The approval
screen showed "(contract creation)".

All five now say "This transaction creates a new contract. It has no
recipient." A transaction with a real `to` is unchanged. The new test
drives each screen both ways.

Model: opus-5-5
This commit is contained in:
2026-10-04 07:38:00 +00:00
parent 4b62e31e80
commit 5aa4010f6c
7 changed files with 293 additions and 11 deletions
+7
View File
@@ -45,6 +45,13 @@ but the review is broader than any of them.
# Completed Steps
- 2026-10-04: A transaction with no `to` says "This transaction creates a new
contract. It has no recipient." on its recipient line
([#250](https://git.eeqj.de/sneak/AutistMask/issues/250)). The wait, success
and error screens and the transaction detail view showed a blank line there,
with a colour dot whose colour was `undefined`; the approval screen showed
"(contract creation)". A transaction with a real `to` is unchanged.
- 2026-10-04: A method the wallet does not implement is refused with EIP-1193
code `4200` ([#279](https://git.eeqj.de/sneak/AutistMask/issues/279)). The
background's `Unsupported method: <method>` error carried no code, so a site