Commit 76339e5
test(e2e): re-confirm contest poll exists immediately before voting in TC-090
Add a second `wait_for_dpns_contest` call (step 2c) between the initial
"contest created" precheck and the actual `VoteOnDPNSNames` dispatch.
Belt-and-suspenders against poll cleanup between DPNS registration and
voting — e.g. on testnets with short voting windows, or if an earlier
vote already resolved the contest while the test was still setting up.
The first precheck (step 2b) stays on a 30 s budget; the new step 2c
uses a 5 s budget since it's a single query — enough to confirm the
poll is still live without adding meaningful runtime to the happy path.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d17cfae commit 76339e5
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
502 | 516 | | |
503 | 517 | | |
504 | 518 | | |
| |||
0 commit comments