feat(tron-wallet-snap): add CoreAssetsAdapter and mapControllerAsset - #144
Open
ulissesferreira wants to merge 7 commits into
Open
feat(tron-wallet-snap): add CoreAssetsAdapter and mapControllerAsset#144ulissesferreira wants to merge 7 commits into
ulissesferreira wants to merge 7 commits into
Conversation
This was referenced Aug 10, 2026
ulissesferreira
added a commit
that referenced
this pull request
Aug 10, 2026
ulissesferreira
force-pushed
the
WPN-1497-implement-core-assets-adapter
branch
from
August 10, 2026 14:13
714b17d to
3550d24
Compare
This was referenced Aug 10, 2026
ulissesferreira
added a commit
that referenced
this pull request
Aug 10, 2026
ulissesferreira
force-pushed
the
WPN-1497-implement-core-assets-adapter
branch
from
August 10, 2026 15:07
3550d24 to
a42b752
Compare
Base automatically changed from
WPN-1497-extract-shared-asset-util-functions
to
main
August 10, 2026 16:21
Introduce CoreAssetsAdapter with AssetsController reads and snap-owned fetch/publish helpers. Wire it into AssetsService unused pending routing.
ulissesferreira
force-pushed
the
WPN-1497-implement-core-assets-adapter
branch
from
August 10, 2026 16:31
c043490 to
176828a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CoreAssetsAdapterandmapControllerAssetfor AssetsController integrationCoreAssetsAdapterincontext.tsand store it onAssetsServiceunused (eslint-ignored reserved slot)Part of WPN-1497. Stack:
Test plan
yarn workspace @metamask/tron-wallet-snap run buildyarn workspace @metamask/tron-wallet-snap run jest --no-coverage src/services/assets/AssetsService.test.ts src/services/assets/utils/mapControllerAsset.test.ts