Skip to content

Conversation

@mullapudipruthvik
Copy link
Contributor

@mullapudipruthvik mullapudipruthvik commented Mar 11, 2025

Ticket: COIN-3222

TICKET: COIN-3222
This commit adds basic validation for ecdsa coins
We have created sub tasks to verify validation for each ecdsa coin and also for eddsa coins
https://bitgoinc.atlassian.net/browse/COIN-3429
https://bitgoinc.atlassian.net/browse/COIN-3430

@mullapudipruthvik mullapudipruthvik force-pushed the COIN-3222 branch 6 times, most recently from f90e280 to 8eb298c Compare March 14, 2025 10:59
@mullapudipruthvik mullapudipruthvik marked this pull request as ready for review March 14, 2025 12:45
@mullapudipruthvik mullapudipruthvik requested review from a team as code owners March 14, 2025 12:45
@mullapudipruthvik mullapudipruthvik requested a review from a team March 14, 2025 12:45
@mullapudipruthvik mullapudipruthvik requested a review from a team as a code owner March 14, 2025 12:45
if (txParams.recipients && txParams.recipients.length > 0) {
const transaction = await this.getBuilder().from(rawTx).build();
const explainedTx = transaction.explainTransaction();
const filteredRecipients = txParams.recipients?.map((recipient) => _.pick(recipient, ['address', 'amount']));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think leaving this outside of the if condition provides a validation since parsing the tx its also a validation

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll look at this again as a part of https://bitgoinc.atlassian.net/browse/COIN-3429

@mullapudipruthvik mullapudipruthvik merged commit e8dc8c9 into master Mar 17, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants