Skip to content

Conversation

BigTava
Copy link
Contributor

@BigTava BigTava commented Apr 30, 2025

Closes #8768

Description

This PR introduces pallet-multi-asset-bounties, which enables bounties to be funded by assets other than the native token and adds several key enhancements to bounty management. The motivation for creating this pallet is to support stablecoin funding in order to mitigate volatility in bounty value and reduce curator overhead.

See the pallet docs for more info about the pallet.

@BigTava BigTava requested a review from a team as a code owner April 30, 2025 10:28
@BigTava BigTava changed the title Tiago multi asset bounties pallet Multi-asset and cross-chain Bounties: Proposed API for new Pallet Apr 30, 2025
@BigTava BigTava changed the title Multi-asset and cross-chain Bounties: Proposed API for new Pallet Draft Multi-asset and cross-chain Bounties: Proposed Pallet Apr 30, 2025
@BigTava BigTava marked this pull request as draft April 30, 2025 11:39
@BigTava BigTava changed the title Draft Multi-asset and cross-chain Bounties: Proposed Pallet pallet-multi-asset-bounties: enable multi-asset and cross-chain bounties Jun 21, 2025
@BigTava BigTava changed the title pallet-multi-asset-bounties: enable multi-asset and cross-chain bounties pallet-multi-asset-bounties: create multi-asset and cross-chain bounties Jun 21, 2025
@BigTava BigTava changed the title pallet-multi-asset-bounties: create multi-asset and cross-chain bounties pallet-multi-asset-bounties: create pallet Jun 21, 2025
@BigTava BigTava changed the title pallet-multi-asset-bounties: create pallet pallet-multi-asset-bounties: create first version of the pallet Jun 21, 2025
@BigTava

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

@BigTava BigTava added the T2-pallets This PR/Issue is related to a particular pallet. label Sep 12, 2025
@BigTava BigTava self-assigned this Sep 12, 2025
Comment on lines +376 to +377
/// The preimage provider.
type Preimages: QueryPreimage<H = Self::Hashing> + StorePreimage;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you request preimage here, it cannot be deleted. later when bounty removed you can unrequest preimage

@BigTava
Copy link
Contributor Author

BigTava commented Sep 14, 2025

/cmd bench --runtime dev --pallet pallet_multi_asset_bounties --fail-fast

Copy link
Contributor

Command "bench --runtime dev --pallet pallet_multi_asset_bounties --fail-fast" has started 🚀 See logs here

…--pallet pallet_multi_asset_bounties --fail-fast'
Copy link
Contributor

Command "bench --runtime dev --pallet pallet_multi_asset_bounties --fail-fast" has finished ✅ See logs here

Subweight results:
File Extrinsic Old New Change [%]
substrate/frame/multi-asset-bounties/src/weights.rs unassign_curator 586.34us Added
substrate/frame/multi-asset-bounties/src/weights.rs retry_payment_refund 727.42us Added
substrate/frame/multi-asset-bounties/src/weights.rs retry_payment_payout 856.50us Added
substrate/frame/multi-asset-bounties/src/weights.rs retry_payment_funding 595.15us Added
substrate/frame/multi-asset-bounties/src/weights.rs propose_curator_parent_bounty 175.02us Added
substrate/frame/multi-asset-bounties/src/weights.rs propose_curator_child_bounty 175.80us Added
substrate/frame/multi-asset-bounties/src/weights.rs fund_child_bounty 1.17ms Added
substrate/frame/multi-asset-bounties/src/weights.rs fund_bounty 884.31us Added
substrate/frame/multi-asset-bounties/src/weights.rs close_parent_bounty 724.70us Added
substrate/frame/multi-asset-bounties/src/weights.rs close_child_bounty 729.48us Added
substrate/frame/multi-asset-bounties/src/weights.rs check_status_refund 851.43us Added
substrate/frame/multi-asset-bounties/src/weights.rs check_status_payout 721.78us Added
substrate/frame/multi-asset-bounties/src/weights.rs check_status_funding 176.18us Added
substrate/frame/multi-asset-bounties/src/weights.rs award_bounty 859.50us Added
substrate/frame/multi-asset-bounties/src/weights.rs accept_curator 604.57us Added
Command output:

✅ Successful benchmarks of runtimes/pallets:
-- dev: ['pallet_multi_asset_bounties']

@paritytech-workflow-stopper
Copy link

All GitHub workflows were cancelled due to failure one of the required jobs.
Failed workflow url: https://github.com/paritytech/polkadot-sdk/actions/runs/17704258746
Failed job name: build-rustdoc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T2-pallets This PR/Issue is related to a particular pallet.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multi-Asset and Cross-Chain Child-/Bounties: Proposed Pallet
4 participants