Skip to content

Commit

Permalink
Fixed: fixed mock compile failed
Browse files Browse the repository at this point in the history
  • Loading branch information
toints committed Mar 4, 2024
1 parent 7b3ad98 commit 235e57e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pallets/liquidation/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ parameter_types! {
pub const OperationRatio: Perbill = Perbill::from_percent(25); // 25% for maintenance
pub const ProfitDistributionCycle: BlockNumber = 10;
pub const ExistDeposit: Balance = EXISTENTIAL_DEPOSIT;
pub const MinLiquidationThreshold: Balance = MILLIUNIT * 20;
pub const SystemAccountName: &'static str = "system";
pub const TreasuryAccountName: &'static str = "treasury";
pub const OperationAccountName: &'static str = "maintenance";
Expand Down Expand Up @@ -283,6 +284,7 @@ impl pallet_liquidation::Config for Test {
type TreasuryRatio = TreasuryRatio;
type OperationRatio = OperationRatio;
type ExistentialDeposit = ExistDeposit;
type MinLiquidationThreshold = MinLiquidationThreshold;
type SystemAccountName = SystemAccountName;
type TreasuryAccountName = TreasuryAccountName;
type OperationAccountName = OperationAccountName;
Expand Down

0 comments on commit 235e57e

Please sign in to comment.