Skip to content

[stable2603] Backport #11441#11488

Merged
EgorPopelyaev merged 1 commit intostable2603from
backport-11441-to-stable2603
Mar 25, 2026
Merged

[stable2603] Backport #11441#11488
EgorPopelyaev merged 1 commit intostable2603from
backport-11441-to-stable2603

Conversation

@paritytech-release-backport-bot
Copy link
Copy Markdown

Backport #11441 into stable2603 from clangenb.

See the documentation on how to use this bot.

When a user calls `refund` with `allow_burn = true`, their token balance
is destroyed, but the asset's total supply was never updated. This
caused `total_issuance()` to overcount. The fix decrements supply and
emits a `Burned` event, consistent with how every other burn path works.

In production, burning path is rarely triggered. The fungibles trait
interface always passes `allow_burn = false`, so only users manually
submitting the refund extrinsic with the burn flag would hit it.

Follow-up issue for migrating the discrepancy (observed on Westend):
#11443.

Fixes #10412

---------

Co-authored-by: clangenb <clangenb@users.noreply.github.com>
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 44f9788)
@paritytech-release-backport-bot paritytech-release-backport-bot Bot requested a review from a team as a code owner March 24, 2026 23:59
@github-actions github-actions Bot added the A3-backport Pull request is already reviewed well in another branch. label Mar 24, 2026
@github-actions
Copy link
Copy Markdown
Contributor

This pull request is amending an existing release. Please proceed with extreme caution,
as to not impact downstream teams that rely on the stability of it. Some things to consider:

  • Backports are only for 'patch' or 'minor' changes. No 'major' or other breaking change.
  • Should be a legit fix for some bug, not adding tons of new features.
  • Must either be already audited or not need an audit.
Emergency Bypass

If you really need to bypass this check: add validate: false to each crate
in the Prdoc where a breaking change is introduced. This will release a new major
version of that crate and all its reverse dependencies and basically break the release.

@EgorPopelyaev EgorPopelyaev merged commit 2fb9260 into stable2603 Mar 25, 2026
246 of 250 checks passed
@EgorPopelyaev EgorPopelyaev deleted the backport-11441-to-stable2603 branch March 25, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A3-backport Pull request is already reviewed well in another branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants