Skip to content
Unverified Commit 2ae79be8 authored by davidk-pt's avatar davidk-pt Committed by GitHub
Browse files

Bounty Pallet: add `approve_bounty_with_curator` call to `bounties` pallet (#5961)



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

Adds `approve_bounty_with_curator` call to the `bounties` pallet to
combine functions of `approve_bounty` and `propose_curator` into one
call. Also adds a new status `ApprovedWithCurator` required to
distinguish if bounty was approved with curator when skipping through
`Funded` status and moving to `CuratorProposed` status.

If `unassign_curator` is called after `approve_bounty_with_curator` the
process will fall back to the old flow of calling `propose_curator`
separately.

---------

Co-authored-by: default avatarDavidK <[email protected]>
Co-authored-by: command-bot <>
Co-authored-by: default avatarAnkan <[email protected]>
parent f1e416a5
Pipeline #504164 waiting for manual action with stages
in 40 minutes and 18 seconds