Skip to content

Dispatch guard to extension#2542

Open
l0r1s wants to merge 4 commits intodevnet-readyfrom
dispatch-guard-to-ext
Open

Dispatch guard to extension#2542
l0r1s wants to merge 4 commits intodevnet-readyfrom
dispatch-guard-to-ext

Conversation

@l0r1s
Copy link
Copy Markdown
Collaborator

@l0r1s l0r1s commented Mar 27, 2026

Migrate CheckColdkeySwap from DispatchGuard to DispatchExtension

Summary

  • Updates polkadot-sdk and frontier revisions to pick up the DispatchExtension trait (replacing DispatchGuard)
  • Migrates CheckColdkeySwap to implement DispatchExtension and declares its extension weight
  • Wires type DispatchExtension = CheckColdkeySwap<Runtime> in runtime config and test mock

Motivation

An update in the SDK renamed DispatchGuard to DispatchExtension and gave it a richer interface (pre/post hooks, weight declaration). This PR is the mechanical migration — no behaviour changes.

@l0r1s l0r1s added the skip-cargo-audit This PR fails cargo audit but needs to be merged anyway label Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-cargo-audit This PR fails cargo audit but needs to be merged anyway

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants