Commit 51d0044
test(cketh): derive e2e sweep parameters from get_minter_info and re-send a stale authorization (#11374)
Follow-ups to #11363:
* The e2e tests no longer hard-code sweep parameters. The sweeper
address and the per-token minimum deposit amounts are retrieved via
`get_minter_info` (#11240).
* A new test runs two deposit flows for the same deposit address. It
shows that re-sending the EIP-7702 authorization with a stale nonce is
harmless: the second sweep lands and the funds are credited exactly
once.
* The live e2e tests now read as fluent action-expectation chains,
matching `cketh.rs` and `ckerc20.rs`. State-changing steps (funding the
fee account, upgrading the minter) and minter endpoint calls
(`deposit_erc20`) are visible in each test instead of being buried in
the test fixtures.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01YK3ggw1xtE3HZTGGBu66oD
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent 3a5aff3 commit 51d0044
4 files changed
Lines changed: 764 additions & 358 deletions
0 commit comments