Skip to content

fix(sdk-coin-eth): fix verifyTransaction for zama TSS tx#9188

Merged
MohammedRyaan786 merged 1 commit into
masterfrom
CHALO-726-tss
Jul 6, 2026
Merged

fix(sdk-coin-eth): fix verifyTransaction for zama TSS tx#9188
MohammedRyaan786 merged 1 commit into
masterfrom
CHALO-726-tss

Conversation

@MohammedRyaan786

@MohammedRyaan786 MohammedRyaan786 commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

TICKET: CHALO-726

This pull request updates the logic for detecting ERC-7984 token consolidation transactions to support a new TSS MPCv2 signing path and adds corresponding unit tests to ensure correct behavior. The main focus is to recognize transactions with the type consolidateToken as valid consolidations, addressing a previously broken verification path.

ERC-7984 Token Consolidation Improvements:

  • Updated the isConsolidationTransaction logic in erc7984Token.ts to recognize transactions where txParams.type is 'consolidateToken', ensuring support for the TSS MPCv2 signing path.

Unit Test Enhancements:

  • Added tests in erc7984Token.ts to verify that transactions with type: 'consolidateToken' are correctly identified as consolidations and properly validated, including both acceptance and rejection scenarios based on address matching.

@linear-code

linear-code Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

CHALO-726

@at31416 at31416 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@MohammedRyaan786 MohammedRyaan786 marked this pull request as ready for review July 6, 2026 17:19
@MohammedRyaan786 MohammedRyaan786 requested a review from a team as a code owner July 6, 2026 17:19
@MohammedRyaan786 MohammedRyaan786 merged commit 0533b68 into master Jul 6, 2026
24 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.

2 participants