Commit b48a599
test(cketh): expect the status a failed funding actually reports
The dedicated Failed status was reverted after review: it meant adding a
variant to retrieve_eth_status' return type, breaking existing clients, to
describe a state mainnet cannot reach — a bare transfer to a code-less address
the minter's own key controls has nothing to revert in.
This test reaches it anyway, by placing reverting code at the sweeper, so it
now expects the pending-reimbursement status and says why that label is
tolerated. What it asserts either way is the invariant: no reimbursement, and
the burn stays as prepaid gas.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 361a41d commit b48a599
1 file changed
Lines changed: 8 additions & 3 deletions
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
166 | 171 | | |
167 | | - | |
168 | | - | |
169 | | - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
170 | 175 | | |
171 | 176 | | |
172 | 177 | | |
| |||
0 commit comments