Commit c053acb
committed
fix(splitter-v3): fix last failing test - duplicate signer abort
require_auth() fires on each vec entry before the duplicate check runs.
Calling it on the same address twice causes Abort in the Soroban test env
before DuplicateCouncilSigner can be returned. Test now asserts is_err()
which is true for both Abort and DuplicateCouncilSigner — the important
invariant is that duplicates are rejected, not which error variant fires.1 parent b028b31 commit c053acb
1 file changed
Lines changed: 7 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1331 | 1331 | | |
1332 | 1332 | | |
1333 | 1333 | | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
1334 | 1338 | | |
1335 | | - | |
1336 | | - | |
1337 | | - | |
1338 | 1339 | | |
1339 | 1340 | | |
1340 | 1341 | | |
1341 | | - | |
1342 | | - | |
1343 | | - | |
1344 | | - | |
1345 | | - | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
1346 | 1345 | | |
1347 | 1346 | | |
1348 | 1347 | | |
| |||
0 commit comments