Conversation
|
Claude finished @Marzooqa's task —— View job Analyzing PR and Review Comment
AnalysisLooking at line 24 in shareType: 'round1Output' | 'round2Output' | 'round3Output'After searching the codebase, I found that these values correspond to the
AnswerNo, there is no existing enum for these round output types. The string literals The current union type approach is appropriate here since:
If you'd like to create an enum, it would need to be added to |
Ticket: WCI-626 EdDSA MPCv2 signing can receive multiple BitGo-to-signer shares in a txRequest. Selecting only by sender/recipient can pick a stale round-1 output during round 2. - Add shareType param to getBitgoSignatureShare to filter by round output type. - Update EdDSA MPCv2 callers to request round-1 or round-2 output explicitly. - Remove inline reverse().find() in offline round-3 path in favour of the helper. - Update tests to expect round-specific missing share error messages.
EdDSA MPCv2 signing can receive multiple BitGo-to-signer shares in a txRequest.
Selecting only by sender/recipient can pick a stale round-1 output during round 2.
Ticket: WCI-626