fix: a swap deadline later than a date can hold is stated in words #441

Merged
clawbot merged 1 commits from issue-437-deadline-past-date-range into next 2026-10-04 23:43:07 +02:00
1 Commits
Author SHA1 Message Date
sneak 580146f14b fix: a swap deadline later than a date can hold is stated in words (closes #437)
check / check (push) Failing after 2s
e2e / e2e-chrome (push) Failing after 2s
e2e / e2e-firefox (push) Failing after 2s
decode() rendered the Deadline line with toISOString(), which throws on a
date past 275760-09-13, the last a JavaScript date can hold. A later
deadline, such as the uint256 maximum, therefore left the whole swap
undecoded, with nothing saying why. That line now reads
"After 275760-09-13 00:00:00 (no deadline in practice)".

Model: opus-5-5
2026-10-04 21:12:59 +00:00