fix: a WRAP_ETH says where its ETH goes (closes #747) #750

Merged
clawbot merged 1 commits from issue-747-wrap-eth-lines into next 2026-11-03 15:44:16 +01:00
1 Commits
Author SHA1 Message Date
sneak c56179abff fix: a WRAP_ETH says where its ETH goes (closes #747)
check / check (push) Successful in 5m26s
e2e / e2e-chrome (push) Successful in 14m4s
e2e / e2e-firefox (push) Successful in 2m37s
A WRAP_ETH into the router now always reads `Moved to: The router`. That is
true whichever step then takes the WETH. Other takes keep
`The swap step that spends it`.

A later WRAP_ETH of CONTRACT_BALANCE to anyone but the router now gets a
`Moved from the sender` line reading `All the ETH the transaction carries`,
and `Moved to` names the recipient. It gets none after an UNWRAP_WETH into
the router, or while the router holds ETH from a V4 step.

README states both rules.

Model: opus-5-5
2026-11-03 14:07:59 +00:00