Skip to content

fix(child-bounties): fix curator assignment bugs in unassign and award (RWF)#12195

Open
messiawrq-design wants to merge 1 commit into
paritytech:masterfrom
messiawrq-design:fix-child-bounty-curator
Open

fix(child-bounties): fix curator assignment bugs in unassign and award (RWF)#12195
messiawrq-design wants to merge 1 commit into
paritytech:masterfrom
messiawrq-design:fix-child-bounty-curator

Conversation

@messiawrq-design
Copy link
Copy Markdown

Fixes #12192: unassign_curator can return a child bounty to Added status without subtracting the child curator fee from ChildrenCuratorFees.
This PR adds the missing mutation to ensure parent-bounty accounting is not inflated after the unassignment.

Fixes #12190: When a parent curator awards an active child bounty, the pallet incorrectly records the parent curator (the signer) as the PendingPayout.curator instead of preserving the child-bounty curator.
This PR fixes it by using curator.clone() instead of signer.

Bounty Wallet: 6sF8p22Gg83NKTJ6dvya7Srv4USCniZnP47DwQwK7Mtp (Solana)

…d (RWF)

Fixes paritytech#12192: `unassign_curator` can return a child bounty to `Added`
status without subtracting the child curator fee from `ChildrenCuratorFees`.
This PR adds the missing mutation to ensure parent-bounty accounting
is not inflated after the unassignment.

Fixes paritytech#12190: When a parent curator awards an active child bounty, the
pallet incorrectly records the parent curator (the `signer`) as the
`PendingPayout.curator` instead of preserving the child-bounty curator.
This PR fixes it by using `curator.clone()` instead of `signer`.

Bounty Wallet: 6sF8p22Gg83NKTJ6dvya7Srv4USCniZnP47DwQwK7Mtp (Solana) / Algora
@messiawrq-design messiawrq-design requested a review from a team as a code owner May 26, 2026 03:17
@cla-bot-2021
Copy link
Copy Markdown

cla-bot-2021 Bot commented May 26, 2026

User @messiawrq-design, please sign the CLA here.

@messiawrq-design
Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant