Commit 8d67c7c
BitGo Agent
test(sdk-lib-mpc): load WASM before getFirstMessage on restored session
The session restore test was calling getFirstMessage() on a restored
DKG instance without first loading the WASM module. initDkg() is what
triggers loadWasmMps(); restoreSession() does not. Added initDkg()
before restoreSession() so WASM is loaded — restoreSession then
overwrites state and keys from the persisted blob as expected.
Ticket: WCI-1261
Session-Id: ac4bfdd3-68f2-464c-bb89-a871628f8093
Task-Id: bf6d94d3-a6fd-40c3-9c4a-efc7ffd08fdf1 parent 190c256 commit 8d67c7c
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
| 466 | + | |
466 | 467 | | |
| 468 | + | |
467 | 469 | | |
468 | 470 | | |
469 | 471 | | |
| |||
0 commit comments