feat(tron-wallet-snap): feature-flag AssetsController fungible reads (WPN-1497) - #89
Conversation
Route fungible asset reads through CoreAssetsAdapter based on remote migration stage flags, with SnapAssetsAdapter fallback where configured. Narrow account sync and saveMany to snap-owned assets when Core is active.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Caution MetaMask internal reviewing guidelines:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Summary
CoreAssetsAdapterbased onRemoteFeatureFlagControllermigration stage (Off / ReadWithFallback / Read)SnapAssetsAdaptersaveManyto snap-owned when Core stage is activegetAsset,getAssets, andRemoteFeatureFlagController:getStateTest plan
yarn workspace @metamask/tron-wallet-snap buildyarn workspace @metamask/tron-wallet-snap run test(898 tests)Stacks on #87 (shared spine). Mutually exclusive with the direct cutover PR — pick one for cutover.
Supersedes #77 (fixes missing
AssetsController:getAssetsendowment).