Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pallet indicies and specify them explicitly #764

Merged
merged 2 commits into from
Aug 28, 2024

Conversation

orriin
Copy link
Contributor

@orriin orriin commented Aug 28, 2024

Scheduler had been moved from after Preimage to after SafeMode.

This inadvertently shifted the pallet indicies of

  • Proxy
  • Registry
  • Commitments
  • AdminUtils
  • SafeMode

by one, causing a breakage in HoldReasons, which refer to the pallet index the hold is associated with.

This PR moves Scheduler back after Preimage, and also specifies explicit pallet indicies to disable this footgun.

@orriin orriin requested a review from unconst as a code owner August 28, 2024 08:45
@orriin orriin added the no-spec-version-bump PR does not contain changes that requires bumping the spec version label Aug 28, 2024
@unconst unconst merged commit bdaf7d0 into devnet-ready Aug 28, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-spec-version-bump PR does not contain changes that requires bumping the spec version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants