You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(sdk-core): route EdDSA MPCv2 hot wallets to full apiVersion
- `getTxRequestApiVersion`: add `|| wallet.multisigTypeVersion() === 'MPCv2'`
to the `'full'` branch so EdDSA MPCv2 hot wallets are not incorrectly
returned `'lite'`, which causes `signRequestBase` to fail with
"Missing signableHex in unsignedTx" at runtime.
- `validateTxRequestApiVersion`: merge ECDSA and MPCv2 check so that
passing `apiVersion: 'lite'` on any MPCv2 wallet throws immediately.
- `baseTSSUtils.supportedTxRequestVersions`: return `['full']` (not
`['lite', 'full']`) for EdDSA MPCv2 hot wallets; v1 hot wallets are
unchanged.
- Tests: add `multisigTypeVersion` to all txRequest wallet stubs; add
two new cases (MPCv2 throws on `'lite'`, MPCv2 defaults to `'full'`);
add `EddsaMPCv2Utils.supportedTxRequestVersions` test for MPCv2 hot
wallet returning `['full']`.
Ticket: WCI-156
Session-Id: ac2678cb-270b-48ab-851f-7787f697cba9
Task-Id: 77a26d69-dcc5-43cf-b339-dace5e08c890
0 commit comments