Skip to content

Commit 55ca943

Browse files
committed
Merge remote-tracking branch 'origin/main' into release/v2.1.0
# Conflicts: # runtime/src/lib.rs
2 parents 078b305 + 79976f8 commit 55ca943

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

runtime/src/lib.rs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -293,10 +293,10 @@ impl pallet_balances::Config for Runtime {
293293

294294
parameter_types! {
295295
pub const AssetDeposit: Balance = 100 * DOLLARS;
296-
pub const ApprovalDeposit: Balance = DOLLARS;
296+
pub const ApprovalDeposit: Balance = 1 * DOLLARS;
297297
pub const StringLimit: u32 = 50;
298298
pub const MetadataDepositBase: Balance = 10 * DOLLARS;
299-
pub const MetadataDepositPerByte: Balance = DOLLARS;
299+
pub const MetadataDepositPerByte: Balance = 1 * DOLLARS;
300300
}
301301

302302
impl pallet_assets::Config for Runtime {
@@ -354,12 +354,12 @@ impl pallet_token_swap::Config for Runtime {
354354
}
355355

356356
parameter_types! {
357-
pub const LaunchPeriod: BlockNumber = 24 * 60 * MINUTES;
358-
pub const VotingPeriod: BlockNumber = 24 * 60 * MINUTES;
357+
pub const LaunchPeriod: BlockNumber = 1 * 24 * 60 * MINUTES;
358+
pub const VotingPeriod: BlockNumber = 1 * 24 * 60 * MINUTES;
359359
pub const FastTrackVotingPeriod: BlockNumber = 3 * 24 * 60 * MINUTES;
360360
pub const InstantAllowed: bool = true;
361361
pub const MinimumDeposit: Balance = 100 * DOLLARS;
362-
pub const EnactmentPeriod: BlockNumber = 24 * 60 * MINUTES;
362+
pub const EnactmentPeriod: BlockNumber = 1 * 24 * 60 * MINUTES;
363363
pub const CooloffPeriod: BlockNumber = 28 * 24 * 60 * MINUTES;
364364
pub const MaxVotes: u32 = 100;
365365
pub const MaxProposals: u32 = 100;
@@ -486,13 +486,13 @@ impl OnUnbalanced<NegativeImbalance> for DealWithFees {
486486
}
487487

488488
Author::on_unbalanced(fee_split.0);
489-
<Runtime as pallet_token_swap::Config>::Balances::resolve_creating(
489+
let _ = <Runtime as pallet_token_swap::Config>::Balances::resolve_creating(
490490
&burn_fee_account,
491-
fee_split.1,
491+
fee_split.1.into(),
492492
);
493-
<Runtime as pallet_token_swap::Config>::Balances::resolve_creating(
493+
let _ = <Runtime as pallet_token_swap::Config>::Balances::resolve_creating(
494494
&society_reward_account,
495-
pool_split.0,
495+
pool_split.0.into(),
496496
);
497497
Treasury::on_unbalanced(pool_split.1);
498498
}
@@ -529,9 +529,9 @@ impl pallet_treasury::Config for Runtime {
529529
type RuntimeEvent = RuntimeEvent;
530530
type OnSlash = ();
531531
type ProposalBond = ProposalBond;
532-
type ProposalBondMinimum = ConstU128<{ DOLLARS }>;
532+
type ProposalBondMinimum = ConstU128<{ 1 * DOLLARS }>;
533533
type ProposalBondMaximum = ();
534-
type SpendPeriod = ConstU32<{ DAYS }>;
534+
type SpendPeriod = ConstU32<{ 1 * DAYS }>;
535535
type Burn = Burn;
536536
type BurnDestination = ();
537537
type SpendFunds = ();
@@ -600,7 +600,7 @@ pub type Executive = frame_executive::Executive<
600600
Migrations,
601601
>;
602602

603-
pub type Migrations = pallet_community::migration::v7::MigrateToV7<Runtime>;
603+
pub type Migrations = pallet_community::migration::v6::MigrateToV6<Runtime>;
604604

605605
#[cfg(feature = "runtime-benchmarks")]
606606
#[macro_use]

0 commit comments

Comments
 (0)