Skip to content

Refactor accounts snapshots#562

Merged
rockbmb merged 12 commits into
masterfrom
refactor-accounts-snapshots
Mar 14, 2026
Merged

Refactor accounts snapshots#562
rockbmb merged 12 commits into
masterfrom
refactor-accounts-snapshots

Conversation

@rockbmb
Copy link
Copy Markdown
Collaborator

@rockbmb rockbmb commented Mar 12, 2026

Follow-up to #558 ; Hydration has some unstable snapshots. It is worth it to remove them altogether, since they are manually analyzed.
EDIT:

This PR was also expanded to handle:

  1. added fields to pure proxy creation event
  2. changes to the staking API in Kusama from the planned runtime upgrade, which hit March 14th 2026
    • some staking calls deadling with configuration changes now also receive a nominator slashability flag

rockbmb and others added 4 commits February 24, 2026 00:31
- setStakingConfigs gained an 8th parameter (are_nominators_slashable)
- removeProxies now emits ProxyRemoved events per removed proxy.

Fix related tests to be SDK's stable2512 compliant.

Co-authored-by: Paolo La Camera <paolo@parity.io>
New staking pallet version used by `stable2512` runtimes  introduced
a new argument to `set_staking_configs`.

The `postAhmFiltering` test suite checks that pallets disabled in
relay chains after the AHM are indeed disasbled.

The staking pallet dependency on the relay chain was *not* updated like
the Hubs' dependency was; therefore, that test suite's usage of
`staking.setStakingConfigs` need not be updated.
It is not worth it to refactor the test to account for the single chain
in which they are unstable; best to just remove them, as they are
cabally analyzed later in each relevant test, anyway.
@rockbmb rockbmb added this to the Refactors & redesigns milestone Mar 12, 2026
@rockbmb rockbmb self-assigned this Mar 12, 2026
@rockbmb rockbmb added e2e tests Related to end-to-end tests snapshots Issue concerning stale, redundant or incorrect snapshots. labels Mar 12, 2026
@github-actions
Copy link
Copy Markdown
Contributor

No issues found.

@rockbmb rockbmb enabled auto-merge (squash) March 13, 2026 10:24
@rockbmb
Copy link
Copy Markdown
Collaborator Author

rockbmb commented Mar 13, 2026

Kusama snapshots are failing due to a runtime upgrade downstreaming a recent change in the pure proxy creation event.

This PR will also update proxy E2E snapshots.

@rockbmb rockbmb merged commit f969e75 into master Mar 14, 2026
6 of 7 checks passed
@rockbmb rockbmb deleted the refactor-accounts-snapshots branch March 14, 2026 22:48
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