Skip to content

refactor(tron-wallet-snap): add SNAP_OWNED_ASSETS and isSnapOwnedAsset (WPN-1497) - #87

Closed
ulissesferreira wants to merge 1 commit into
WPN-1497-snap-adapterfrom
assets-split/3-snap-owned-helpers
Closed

refactor(tron-wallet-snap): add SNAP_OWNED_ASSETS and isSnapOwnedAsset (WPN-1497)#87
ulissesferreira wants to merge 1 commit into
WPN-1497-snap-adapterfrom
assets-split/3-snap-owned-helpers

Conversation

@ulissesferreira

Copy link
Copy Markdown
Contributor

Summary

  • Add SNAP_OWNED_ASSETS constant (with deprecated SPECIAL_ASSETS alias)
  • Add isSnapOwnedAsset() helper and unit tests
  • Update price/token API clients to use the new constant name
  • No sync behavior change — full fungible cron sync still runs

Test plan

  • yarn workspace @metamask/tron-wallet-snap build
  • yarn workspace @metamask/tron-wallet-snap run test

Stacks on Step 2 PR (Step 3/3 shared spine). Merge before choosing Fork X or Y.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ulissesferreira
ulissesferreira requested a review from a team as a code owner July 31, 2026 21:15
@ulissesferreira
ulissesferreira deleted the assets-split/3-snap-owned-helpers branch July 31, 2026 21:36
@ulissesferreira ulissesferreira changed the title refactor(tron-wallet-snap): add SNAP_OWNED_ASSETS and isSnapOwnedAsset refactor(tron-wallet-snap): add SNAP_OWNED_ASSETS and isSnapOwnedAsset (WPN-1497) Jul 31, 2026
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