Skip to content

Re-enable burn tests on Kusama and Polkadot relays#599

Merged
rockbmb merged 6 commits into
masterfrom
reenable-burn-tests
May 1, 2026
Merged

Re-enable burn tests on Kusama and Polkadot relays#599
rockbmb merged 6 commits into
masterfrom
reenable-burn-tests

Conversation

@rockbmb
Copy link
Copy Markdown
Collaborator

@rockbmb rockbmb commented Apr 24, 2026

Re-enables burn tests on the Kusama relay that were temporarily disabled

The tests were disabled while waiting for a fix in paritytech/polkadot-sdk#9986. That issue has been resolved on Kusama.

@github-actions
Copy link
Copy Markdown
Contributor

No issues found.

@rockbmb rockbmb self-assigned this Apr 24, 2026
@rockbmb rockbmb added e2e tests Related to end-to-end tests snapshots Issue concerning stale, redundant or incorrect snapshots. labels Apr 24, 2026
@rockbmb rockbmb force-pushed the reenable-burn-tests branch 3 times, most recently from 1ac708e to d402b3f Compare April 24, 2026 17:15
@rockbmb rockbmb requested a review from xlc April 24, 2026 18:58
@rockbmb rockbmb force-pushed the reenable-burn-tests branch from d402b3f to 8c81a3d Compare April 24, 2026 19:09
Kusama passes at the current known-good block because the AHM accounts
migration has not yet run there, so validator accounts still have free
balance on the relay chain and fee routing via DealWithFees/ToAuthor
succeeds. Polkadot's known-good block is past that migration, leaving
validator accounts with free = 0, which causes ToAuthor to silently
drop the fee credit and reduce TotalIssuance by 0.2 * fee, breaking
the strict equality assertion in the burn tests.

Polkadot tests will be re-enabled once DealWithFees/ToAuthor is fixed
upstream to not drop fee credits when the author account is below ED.
See paritytech/polkadot-sdk#9986.
@rockbmb rockbmb force-pushed the reenable-burn-tests branch from 8c81a3d to 16d5238 Compare April 26, 2026 00:26
rockbmb added 5 commits April 29, 2026 13:00
The 20% of the extrinsic fee which would go to the block author would be
burned when the validator has had their relay balance zeroed because of
AHM migration.

This commit re-enables burn tests on relay chains, and accounts for the
case in which this happens, as the known-good block's author may have
had their relay balance zeroed post-AHM.
@rockbmb
Copy link
Copy Markdown
Collaborator Author

rockbmb commented Apr 30, 2026

paritytech/polkadot-sdk#11948 will close paritytech/polkadot-sdk#9986; after that downstreams to production runtimes, the patches applied here can be undone.

@rockbmb rockbmb added this to the Advanced CUI/CUJ Coverage milestone May 1, 2026
@rockbmb rockbmb merged commit 67fa243 into master May 1, 2026
6 of 11 checks passed
@rockbmb rockbmb deleted the reenable-burn-tests branch May 1, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

e2e tests Related to end-to-end tests snapshots Issue concerning stale, redundant or incorrect snapshots.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants