Commit Graph
1 Commits
Author SHA1 Message Date
sneak 786613ce2d harden: warn for token-permission typed data and show the primary type ethers signs (closes #400)
check / check (push) Successful in 1m19s
e2e / e2e-chrome (push) Failing after 1m36s
e2e / e2e-firefox (push) Successful in 34s
The typed-data screen listed a Permit or Permit2 signature as plain
key/value lines, exactly like a sign-in message. For EIP-2612's Permit and
Permit2's signature types it now shows a red warning naming the spender and
each token and amount, Unlimited for the field's largest value.

The screen printed the page's primaryType, but ethers signs the type it
derives from types. It now shows the derived type, and typed data whose
stated type is missing or differs is refused: error line, Sign disabled,
and checked again where signing starts.

Deviation: the warning names no deadline or expiry; see the issue.
Judgement call: DAI's older permit and Permit2's batch and witness transfer
types are recognised too.

Model: opus-5-5
2026-10-03 12:50:26 +00:00