refactor(tron-wallet-snap): rename SNAP_SPECIAL_ASSETS to SNAP_OWNED_ASSETS - #92
refactor(tron-wallet-snap): rename SNAP_SPECIAL_ASSETS to SNAP_OWNED_ASSETS#92ulissesferreira wants to merge 12 commits into
Conversation
53be776 to
b517134
Compare
b67ea64 to
8624473
Compare
80da50f to
8b77a78
Compare
d5876a7 to
81eb154
Compare
8b77a78 to
30a99f6
Compare
da939f6 to
cb7a717
Compare
|
@cursoragent rebase with the latest base. then confirm linting is good, and finally that the shasum is correct |
|
All three items are done. RebaseRebased
Lint
ShasumBuilt with
Tests
|
81eb154 to
e49c38b
Compare
|
@cursoragent update the shasum for this |
|
Updated the manifest shasum to match what Linux CI computes.
CI was failing because the build step auto-corrects the shasum on Linux, leaving a dirty working tree. The fix is committed in |
…rvice Move existing assets logic into SnapAssetsAdapter and keep AssetsService as a thin facade that always delegates to the Snap adapter. Behavior unchanged; prepares for a later Core adapter / feature-flag routing PR.
Adapter lives one directory deeper than AssetsService; bump client, constants, and types imports to ../../../ and ../types respectively.
Update the manifest shasum, cover AssetsService facade delegation in tests, and use SnapAssetsAdapter.isFiat inside the adapter implementation.
Move import suppressions to SnapAssetsAdapter and align test assertions with jest prefer-strict-equal rules.
Co-authored-by: Ulisses Ferreira <ulisses@hey.com>
Co-authored-by: Ulisses Ferreira <ulisses@hey.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Align test file formatting with lint:misc:check expectations.
Co-authored-by: Ulisses Ferreira <ulisses@hey.com>
Co-authored-by: Ulisses Ferreira <ulisses@hey.com>
2242a06 to
8d95d05
Compare
5e27de9 to
9532cbd
Compare
a122613 to
772082a
Compare


Summary
SNAP_OWNED_ASSETSconstant (with deprecatedSPECIAL_ASSETSalias)isSnapOwnedAsset()helper and unit testsJira
Test plan
yarn workspace @metamask/tron-wallet-snap buildyarn workspace @metamask/tron-wallet-snap run testStacks on #91 (Step 3/3 shared spine). Merge before choosing Fork X or Y.