Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
…mocracy
  • Loading branch information
Guantong committed Jan 10, 2023
1 parent 24eb417 commit 89a4aac
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion runtime/crab/src/pallets/assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ impl pallet_assets::Config for Runtime {
type AssetDeposit = ConstU128<0>;
type AssetId = AssetId;
type Balance = Balance;
type CreateOrigin = EnsureRoot<AccountId>;
type Currency = Balances;
type Extra = ();
type CreateOrigin = EnsureRoot<AccountId>;
type ForceOrigin = EnsureRoot<AccountId>;
type Freezer = ();
type MetadataDepositBase = ConstU128<0>;
Expand Down
6 changes: 3 additions & 3 deletions runtime/crab/src/pallets/democracy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ impl pallet_democracy::Config for Runtime {
type InstantAllowed = ConstBool<true>;
type InstantOrigin = RootOrAll<TechnicalCollective>;
type LaunchPeriod = ConstU32<{ 28 * DAYS }>;
type MaxBlacklisted = ConstU32<100>;
type MaxDeposits = ConstU32<100>;
type MaxProposals = ConstU32<100>;
type MaxVotes = ConstU32<100>;
type MinimumDeposit = ConstU128<DARWINIA_PROPOSAL_REQUIREMENT>;
type OperationalPreimageOrigin = pallet_collective::EnsureMember<AccountId, CouncilCollective>;
type PalletsOrigin = OriginCaller;
type PreimageByteDeposit = ConstU128<{ darwinia_deposit(0, 1) }>;
type Proposal = RuntimeCall;
type Preimages = Preimage;
type RuntimeEvent = RuntimeEvent;
type Scheduler = Scheduler;
type Slash = Treasury;
Expand Down
2 changes: 1 addition & 1 deletion runtime/darwinia/src/pallets/assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ impl pallet_assets::Config for Runtime {
type AssetDeposit = ConstU128<0>;
type AssetId = AssetId;
type Balance = Balance;
type CreateOrigin = EnsureRoot<AccountId>;
type Currency = Balances;
type Extra = ();
type CreateOrigin = EnsureRoot<AccountId>;
type ForceOrigin = EnsureRoot<AccountId>;
type Freezer = ();
type MetadataDepositBase = ConstU128<0>;
Expand Down
6 changes: 3 additions & 3 deletions runtime/darwinia/src/pallets/democracy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ impl pallet_democracy::Config for Runtime {
type InstantAllowed = ConstBool<true>;
type InstantOrigin = RootOrAll<TechnicalCollective>;
type LaunchPeriod = ConstU32<{ 28 * DAYS }>;
type MaxBlacklisted = ConstU32<100>;
type MaxDeposits = ConstU32<100>;
type MaxProposals = ConstU32<100>;
type MaxVotes = ConstU32<100>;
type MinimumDeposit = ConstU128<DARWINIA_PROPOSAL_REQUIREMENT>;
type OperationalPreimageOrigin = pallet_collective::EnsureMember<AccountId, CouncilCollective>;
type PalletsOrigin = OriginCaller;
type PreimageByteDeposit = ConstU128<{ darwinia_deposit(0, 1) }>;
type Proposal = RuntimeCall;
type Preimages = Preimage;
type RuntimeEvent = RuntimeEvent;
type Scheduler = Scheduler;
type Slash = Treasury;
Expand Down
2 changes: 1 addition & 1 deletion runtime/pangolin/src/pallets/assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ impl pallet_assets::Config for Runtime {
type AssetDeposit = ConstU128<0>;
type AssetId = AssetId;
type Balance = Balance;
type CreateOrigin = EnsureRoot<AccountId>;
type Currency = Balances;
type Extra = ();
type CreateOrigin = EnsureRoot<AccountId>;
type ForceOrigin = EnsureRoot<AccountId>;
type Freezer = ();
type MetadataDepositBase = ConstU128<0>;
Expand Down
6 changes: 3 additions & 3 deletions runtime/pangolin/src/pallets/democracy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ impl pallet_democracy::Config for Runtime {
type InstantAllowed = ConstBool<true>;
type InstantOrigin = RootOrAll<TechnicalCollective>;
type LaunchPeriod = ConstU32<{ 28 * DAYS }>;
type MaxBlacklisted = ConstU32<100>;
type MaxDeposits = ConstU32<100>;
type MaxProposals = ConstU32<100>;
type MaxVotes = ConstU32<100>;
type MinimumDeposit = ConstU128<DARWINIA_PROPOSAL_REQUIREMENT>;
type OperationalPreimageOrigin = pallet_collective::EnsureMember<AccountId, CouncilCollective>;
type PalletsOrigin = OriginCaller;
type PreimageByteDeposit = ConstU128<{ darwinia_deposit(0, 1) }>;
type Proposal = RuntimeCall;
type Preimages = Preimage;
type RuntimeEvent = RuntimeEvent;
type Scheduler = Scheduler;
type Slash = Treasury;
Expand Down

0 comments on commit 89a4aac

Please sign in to comment.