paritytech / polkadot-sdk

The Parity Polkadot Blockchain SDK
https://polkadot.network/
1.8k stars 652 forks source link

pallet-migrations: fix index access for singluar migrations #5695

Closed ggwpez closed 2 weeks ago

ggwpez commented 2 weeks ago

Discovered a bug in the migrations pallet while debugging https://github.com/paritytech/try-runtime-cli/pull/90.
🚨 This can lead to your chain getting stuck. It happens when a single MBM is configured. Having no or more than one MBM will circumvent the issue.

Changes:

ggwpez commented 2 weeks ago

/cmd prdoc --pr 5695 --bump patch --audience "Runtime Dev"

paritytech-cmd-bot-polkadot-sdk[bot] commented 1 week ago

Git push to origin failed for stable2407 with exitcode 1

paritytech-cmd-bot-polkadot-sdk[bot] commented 1 week ago

Successfully created backport PR for stable2409:

paritytech-cmd-bot-polkadot-sdk[bot] commented 1 week ago

Successfully created backport PR for stable2407:

paritytech-cmd-bot-polkadot-sdk[bot] commented 1 week ago

Git push to origin failed for stable2409 with exitcode 1