Skip to content

feat(solana-wallet-snap): hardcode Core assets reads and remove migration flags - #124

Draft
ulissesferreira wants to merge 2 commits into
ulissesferreira/wpn-1476-migrate-solana-assets-controller-6620from
ulissesferreira/wpn-1476-hardcode-core-assets-adapter-flag-6620
Draft

feat(solana-wallet-snap): hardcode Core assets reads and remove migration flags#124
ulissesferreira wants to merge 2 commits into
ulissesferreira/wpn-1476-migrate-solana-assets-controller-6620from
ulissesferreira/wpn-1476-hardcode-core-assets-adapter-flag-6620

Conversation

@ulissesferreira

Copy link
Copy Markdown
Contributor

Explanation

Part of migrating the Solana assets-controller staged migration from snap-solana-wallet#644 into this monorepo (PR 5 of 6, Lane A / feature-flag path only).

  • Remove migration-stage / remote feature-flag branching from AssetsService
  • Hardcode fungible reads through AssetsProvider + mapControllerAsset
  • Disable Snap fungible tracking (fetch/save/saveMany no longer persist fungibles)
  • Keep Snap-owned NFT reads via SnapAssetsAdapter
  • Drop RemoteFeatureFlagController:getState from messenger endowment / deps
  • Delete shouldTrackSnapAssets helpers

SnapAssetsAdapter / AssetsRepository / assetEntities state remain for PR 6 cleanup.

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them
Open in Web Open in Cursor 

cursoragent and others added 2 commits August 5, 2026 14:02
…tracking

Remove migration-stage and remote feature-flag routing from AssetsService.
Always read fungibles via AssetsProvider/mapControllerAsset; keep Snap-owned
NFT merge through SnapAssetsAdapter. Disable fetch/save persistence for
fungibles and simplify AccountsSynchronizer to Core reads only.

Co-authored-by: Ulisses Ferreira <ulisses@hey.com>
Co-authored-by: Ulisses Ferreira <ulisses@hey.com>
@ulissesferreira ulissesferreira changed the title feat(WPN-1476): hardcode Core assets reads and remove migration flags feat(solana-wallet-snap): hardcode Core assets reads and remove migration flags Aug 6, 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.

2 participants