@@ -293,10 +293,10 @@ impl pallet_balances::Config for Runtime {
293
293
294
294
parameter_types ! {
295
295
pub const AssetDeposit : Balance = 100 * DOLLARS ;
296
- pub const ApprovalDeposit : Balance = DOLLARS ;
296
+ pub const ApprovalDeposit : Balance = 1 * DOLLARS ;
297
297
pub const StringLimit : u32 = 50 ;
298
298
pub const MetadataDepositBase : Balance = 10 * DOLLARS ;
299
- pub const MetadataDepositPerByte : Balance = DOLLARS ;
299
+ pub const MetadataDepositPerByte : Balance = 1 * DOLLARS ;
300
300
}
301
301
302
302
impl pallet_assets:: Config for Runtime {
@@ -354,12 +354,12 @@ impl pallet_token_swap::Config for Runtime {
354
354
}
355
355
356
356
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 ;
359
359
pub const FastTrackVotingPeriod : BlockNumber = 3 * 24 * 60 * MINUTES ;
360
360
pub const InstantAllowed : bool = true ;
361
361
pub const MinimumDeposit : Balance = 100 * DOLLARS ;
362
- pub const EnactmentPeriod : BlockNumber = 24 * 60 * MINUTES ;
362
+ pub const EnactmentPeriod : BlockNumber = 1 * 24 * 60 * MINUTES ;
363
363
pub const CooloffPeriod : BlockNumber = 28 * 24 * 60 * MINUTES ;
364
364
pub const MaxVotes : u32 = 100 ;
365
365
pub const MaxProposals : u32 = 100 ;
@@ -486,13 +486,13 @@ impl OnUnbalanced<NegativeImbalance> for DealWithFees {
486
486
}
487
487
488
488
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 (
490
490
& burn_fee_account,
491
- fee_split. 1 ,
491
+ fee_split. 1 . into ( ) ,
492
492
) ;
493
- <Runtime as pallet_token_swap:: Config >:: Balances :: resolve_creating (
493
+ let _ = <Runtime as pallet_token_swap:: Config >:: Balances :: resolve_creating (
494
494
& society_reward_account,
495
- pool_split. 0 ,
495
+ pool_split. 0 . into ( ) ,
496
496
) ;
497
497
Treasury :: on_unbalanced ( pool_split. 1 ) ;
498
498
}
@@ -529,9 +529,9 @@ impl pallet_treasury::Config for Runtime {
529
529
type RuntimeEvent = RuntimeEvent ;
530
530
type OnSlash = ( ) ;
531
531
type ProposalBond = ProposalBond ;
532
- type ProposalBondMinimum = ConstU128 < { DOLLARS } > ;
532
+ type ProposalBondMinimum = ConstU128 < { 1 * DOLLARS } > ;
533
533
type ProposalBondMaximum = ( ) ;
534
- type SpendPeriod = ConstU32 < { DAYS } > ;
534
+ type SpendPeriod = ConstU32 < { 1 * DAYS } > ;
535
535
type Burn = Burn ;
536
536
type BurnDestination = ( ) ;
537
537
type SpendFunds = ( ) ;
@@ -600,7 +600,7 @@ pub type Executive = frame_executive::Executive<
600
600
Migrations ,
601
601
> ;
602
602
603
- pub type Migrations = pallet_community:: migration:: v7 :: MigrateToV7 < Runtime > ;
603
+ pub type Migrations = pallet_community:: migration:: v6 :: MigrateToV6 < Runtime > ;
604
604
605
605
#[ cfg( feature = "runtime-benchmarks" ) ]
606
606
#[ macro_use]
0 commit comments