Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bounty Pallet: approve bounty with curator call #5928

Open
muharem opened this issue Oct 4, 2024 · 0 comments
Open

Bounty Pallet: approve bounty with curator call #5928

muharem opened this issue Oct 4, 2024 · 0 comments
Assignees

Comments

@muharem
Copy link
Contributor

muharem commented Oct 4, 2024

Part of #5500

Goal:

Approve bounties and curators with a single referendum.

Solution:

Introduce approve_bounty_with_curator(..) call that would behave as a batch of the existing approve_bounty and propose_curator calls.

github-merge-queue bot pushed a commit that referenced this issue Nov 5, 2024
…allet (#5961)

Resolves issue #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: DavidK <davidk@parity.io>
Co-authored-by: command-bot <>
Co-authored-by: Ankan <10196091+Ank4n@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants