Skip to content
Snippets Groups Projects
Unverified Commit a4791617 authored by davidk-pt's avatar davidk-pt Committed by GitHub
Browse files

pallet-child-bounties index child bounty by parent bounty (#6255)


Resolves https://github.com/paritytech/polkadot-sdk/issues/5929

Migrates `ChildBountyDescriptions` to be indexed instead of unique child
bounty id unique per all child bounties in the pallet to be unique per
every parent bounty.

Migrates `(ParentBounty, ChildBounty)` keys inside `ChildBounties`
storage item to use new `ChildBounty` ids starting from `0`.

@paritytech/frame-coders

---------

Signed-off-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: default avatarDavidK <davidk@parity.io>
Co-authored-by: default avatarmuharem <ismailov.m.h@gmail.com>
Co-authored-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
parent b667c279
Branches
Pipeline #504397 waiting for manual action with stages
in 1 hour, 11 minutes, and 27 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment