Skip to content

Fix pallet indicies and specify them explicitly#764

Merged
unconst merged 2 commits intodevnet-readyfrom
fix-pallet-indicies
Aug 28, 2024
Merged

Fix pallet indicies and specify them explicitly#764
unconst merged 2 commits intodevnet-readyfrom
fix-pallet-indicies

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
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