Add Child Bounties to Polkadot and Kusama#4863
Add Child Bounties to Polkadot and Kusama#4863paritytech-processbot[bot] merged 11 commits intomasterfrom
Conversation
|
/benchmark runtime kusama pallet_child_bounties |
|
Benchmark Runtime Kusama Pallet for branch "shawntabrizi-add-child-bounties" with command cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_child_bounties --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/ Toolchain: stable-x86_64-unknown-linux-gnu (default) Results |
|
/benchmark runtime polkadot pallet_child_bounties |
|
|
||
| parameter_types! { | ||
| pub const MaxActiveChildBountyCount: u32 = 100; | ||
| pub const ChildBountyValueMinimum: Balance = BountyValueMinimum::get() / 10; |
There was a problem hiding this comment.
This is too high IMO. There may be use cases where the child bounty rewards need to be quite low (example) or at least disproportionally low to the total bounty.
I propose a fixed min of 10 * DOLLARS (which I believe is half the min of the main bounty).
There was a problem hiding this comment.
will be addressed in follow up PR
|
|
||
| parameter_types! { | ||
| pub const MaxActiveChildBountyCount: u32 = 100; | ||
| pub const ChildBountyValueMinimum: Balance = BountyValueMinimum::get() / 10; |
There was a problem hiding this comment.
Same as for Kusama
This is too high IMO. There may be use cases where the child bounty rewards need to be quite low (example) or at least disproportionally low to the total bounty.
I propose a fixed min of 5 * DOLLARS (which I believe is half the min of the main bounty).
There was a problem hiding this comment.
will be addressed in follow up PR
…-- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_child_bounties --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
|
Benchmark Runtime Polkadot Pallet for branch "shawntabrizi-add-child-bounties" with command cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_child_bounties --extrinsic="*" --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/ Toolchain: stable-x86_64-unknown-linux-gnu (default) Results |
…shawntabrizi-add-child-bounties
…-- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_child_bounties --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/
emostov
left a comment
There was a problem hiding this comment.
Configuration looks reasonable, although I am not that familiar with the child bounties pallet
|
bot merge |
No description provided.