mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 12:51:02 +00:00
Companion for substrate#8665 (Bounded Treasury) (#2932)
* Add MaxApprovals for Bounded Treasury * update weight * update Substrate * cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_treasury --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/ * cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_treasury --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/ Co-authored-by: parity-processbot <> Co-authored-by: Parity Benchmarking Bot <admin@parity.io>
This commit is contained in:
@@ -568,6 +568,7 @@ parameter_types! {
|
||||
pub const MaximumReasonLength: u32 = 16384;
|
||||
pub const BountyCuratorDeposit: Permill = Permill::from_percent(50);
|
||||
pub const BountyValueMinimum: Balance = 2 * DOLLARS;
|
||||
pub const MaxApprovals: u32 = 100;
|
||||
}
|
||||
|
||||
type ApproveOrigin = EnsureOneOf<
|
||||
@@ -589,6 +590,7 @@ impl pallet_treasury::Config for Runtime {
|
||||
type Burn = Burn;
|
||||
type BurnDestination = Society;
|
||||
type SpendFunds = Bounties;
|
||||
type MaxApprovals = MaxApprovals;
|
||||
type WeightInfo = weights::pallet_treasury::WeightInfo<Runtime>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user