Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
aurexav committed Dec 25, 2024
1 parent 33b3fee commit 22ed2e6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions pallet/staking/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ where
}
}
impl pallet_treasury::Config for Runtime {
type ApproveOrigin = frame_system::EnsureRoot<AccountId>;
type AssetKind = ();
type BalanceConverter = frame_support::traits::tokens::UnityAssetBalanceConversion;
#[cfg(feature = "runtime-benchmarks")]
Expand All @@ -173,7 +172,6 @@ impl pallet_treasury::Config for Runtime {
type BurnDestination = ();
type Currency = Balances;
type MaxApprovals = ();
type OnSlash = ();
type PalletId = TreasuryPalletId;
type Paymaster = frame_support::traits::tokens::PayFromAccount<Balances, TreasuryAccount>;
type PayoutPeriod = ();
Expand Down
2 changes: 0 additions & 2 deletions runtime/crab/src/pallets/governance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ impl pallet_whitelist::Config for Runtime {
}

impl pallet_treasury::Config for Runtime {
type ApproveOrigin = RootOr<GeneralAdmin>;
type AssetKind = ();
type BalanceConverter = frame_support::traits::tokens::UnityAssetBalanceConversion;
#[cfg(feature = "runtime-benchmarks")]
Expand All @@ -112,7 +111,6 @@ impl pallet_treasury::Config for Runtime {
type BurnDestination = ();
type Currency = Balances;
type MaxApprovals = ConstU32<100>;
type OnSlash = Treasury;
type PalletId = pallet_config::TreasuryPid;
type Paymaster =
frame_support::traits::tokens::PayFromAccount<Balances, pallet_config::TreasuryAccount>;
Expand Down
2 changes: 0 additions & 2 deletions runtime/darwinia/src/pallets/governance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ impl pallet_whitelist::Config for Runtime {
}

impl pallet_treasury::Config for Runtime {
type ApproveOrigin = RootOr<GeneralAdmin>;
type AssetKind = ();
type BalanceConverter = frame_support::traits::tokens::UnityAssetBalanceConversion;
#[cfg(feature = "runtime-benchmarks")]
Expand All @@ -112,7 +111,6 @@ impl pallet_treasury::Config for Runtime {
type BurnDestination = ();
type Currency = Balances;
type MaxApprovals = ConstU32<100>;
type OnSlash = Treasury;
type PalletId = pallet_config::TreasuryPid;
type Paymaster =
frame_support::traits::tokens::PayFromAccount<Balances, pallet_config::TreasuryAccount>;
Expand Down

0 comments on commit 22ed2e6

Please sign in to comment.