Commit 909e35f
refactor(sdk-core): use executeTillRound in round-3 verify test
Replace the manual initDsg/getFirstMessage/handleIncomingMessages
handshake in the verifyPeerMessageRoundThree happy-path test with
MPSUtil.executeTillRound(2, ...) from @bitgo/sdk-lib-mpc, which already
drives two DSG parties to the requested round and is used for the same
purpose in sdk-lib-mpc's own DSG tests.
This removes duplicated round1/round2 handshake code from the test so
it exercises only what verifyPeerMessageRoundThree needs, matching the
existing helper pattern instead of re-deriving it inline.
Ticket: WCI-1191
Session-Id: 0716649e-75cb-46dd-8d6a-ae0a701167d6
Task-Id: 3a82317d-853d-4878-97a8-50cf6fa938c51 parent 89afad6 commit 909e35f
1 file changed
Lines changed: 9 additions & 16 deletions
Lines changed: 9 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
367 | 360 | | |
368 | 361 | | |
369 | 362 | | |
| |||
0 commit comments