You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(stellar): fetch live data in keyring listAccountAssets and getAccountBalances + read balance data from AssetsController + stop account sync while Asset migration is off - #331
The reason will be displayed to describe this comment to others. Learn more.
Copilot review overview
🟡 Changes recommended
There are confirmed blocking issues that force migration behavior on unconditionally and bypass the intended migration guard when backfilling the catalog, plus a formatting issue likely to fail lint/format checks.
Get a fresh assessment by requesting another Copilot review.
Adds initial “Core assets migration” plumbing for the Stellar snap so that (when a remote flag enables it) holdings and catalog metadata can be read from Core’s AssetsController instead of snap state, while still allowing fallback to existing snap persistence where needed.
Changes:
Introduces AssetsService + CoreAssetsAdapter and wires Core messenger/endowments to fetch account assets and asset metadata.
Updates on-chain account resolution/sync to optionally bind balances from Core assets and (optionally) overlay account ledger meta from Soroban RPC.
Extends network layer with getAccountLedgerMeta and adds additional validation helpers for Stellar int64-like values.
File
Description
yarn.lock
Adds Core migration-related dependencies for the Stellar snap workspace.
The AssetsController classic balance metadata includes the trustline sponsor, but this mapping drops it before creating the serializable balance. As a result, migrated sponsored trustlines are returned by keyring APIs without their sponsor address, unlike Horizon-backed accounts. Preserve the non-empty sponsor when building the serialized entry.
stanleyyconsensys
changed the title
feat(stellar): asset migration
feat(stellar): return live data in keyring listAccountAssets and getAccountBalances but gate by local config enableAssetMigrationOct 22, 2026
stanleyyconsensys
changed the title
feat(stellar): return live data in keyring listAccountAssets and getAccountBalances but gate by local config enableAssetMigration
feat(stellar): fetch live data in keyring listAccountAssets and getAccountBalances + read balance data from AssetsController + stop account sync while Asset migration is off
Oct 22, 2026
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
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.
Explanation
References
Checklist