Skip to content

fix(activity): map musdConversion as send not convert - #10217

Draft
n3ps wants to merge 2 commits into
mainfrom
n3ps/fix-musd-conversion-not-convert
Draft

fix(activity): map musdConversion as send not convert#10217
n3ps wants to merge 2 commits into
mainfrom
n3ps/fix-musd-conversion-not-convert

Conversation

@n3ps

@n3ps n3ps commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Map TransactionType.musdConversion through the existing ERC-20 transfer (send) path in local-transaction-mapper
  • Remove the dedicated convert case that parsed calldata and invented sourceToken/destinationToken pairs
  • Update mapper tests accordingly

Companion to MetaMask/metamask-extension#46254, which removes convert UI treatment and excludes musdConversion from local activity until the indexed API is authoritative.

Test plan

  • yarn test:verbose --testPathPatterns=local-transaction-mapper.test.ts --coverage=false in packages/client-utils (80 passed)

Made with Cursor

n3ps and others added 2 commits September 11, 2026 23:27
Stop inventing convert activity rows with source/destination token pairs
for mUSD conversion orchestration txs. Classify them as ordinary ERC-20
sends and defer accurate activity data to the indexed API.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
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.

1 participant