Conversation
Contributor
vibhavgo
force-pushed
the
WCI-680-ton-unsigned-sweep-mpc-format
branch
from
September 30, 2026 09:49
aacfda5 to
60c197b
Compare
Contributor
Author
Reference: Other coins returning
|
Contributor
|
|
vibhavgo
force-pushed
the
WCI-680-ton-unsigned-sweep-mpc-format
branch
from
September 30, 2026 09:58
60c197b to
888e195
Compare
vibhavgo
marked this pull request as ready for review
September 30, 2026 09:59
recover() was returning a bare MPCTx for unsigned sweeps instead of the MPCSweepTxs format that OVC requires. Other coins already follow this convention. Also update the MPCv2 sweep test to unwrap the new envelope shape. Ticket: WCI-680
vibhavgo
force-pushed
the
WCI-680-ton-unsigned-sweep-mpc-format
branch
from
September 30, 2026 10:08
888e195 to
6ae3e01
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
`recover()` was returning a bare `MPCTx` for unsigned sweeps instead of the `MPCSweepTxs` format that OVC's TSS form requires. The TSS form reads `txRequest.walletCoin` to determine the MPC algorithm — the bare return caused silent upload failure at the start of the 5-pass OVC ceremony.
Other coins already follow this convention — see `sdk-coin-polyx` `polyx.ts:263` which returns `{ txRequests: [txRequest] }`. This PR aligns TON with that established pattern.
Linear: WCI-680
Changes
Test Plan