Repository navigation
fix(regulated_token): read balances without dispatch under MCMS - #609
Merged
JohnChangUK merged 2 commits intoNov 17, 2026
Merged
JohnChangUK merged 2 commits into
JohnChangUK merged 2 commits into
Conversation
JohnChangUK
force-pushed
the
fix/read-balances-without-dispatch-under
branch
from
November 17, 2026 05:51
ed8c4bd to
1b6d21f
Compare
JohnChangUK
merged commit Nov 17, 2026
1b6d21f
into
fix/regulated-token-store-freeze
13 of 14 checks passed
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.
Description
Recover and burn aborted 4037 when MCMS called them, because
primary_fungible_store::balancere-entersdispatchable_fungible_asset. The rollout notes also missed secondary stores an account owns directly.primary_store_balanceinregulated_token.moveand use it for account recover, account burn andrecover_tokens. The token has no derived balance, so the value is the same.mcms_dispatch_test.move, which runs the recover, burn and store entries throughderived_supply.README.mdto list every funded store that is not an account's own primary store.store_owner_pin_test.movefor a store an account owns directly: withdraw aborts withE_STORE_NOT_PINNED, and freeze plus recovery moves its balance.