From bc8a777698878d6a5f78eda8f54b745aea678755 Mon Sep 17 00:00:00 2001 From: Xiliang Chen Date: Wed, 28 Jul 2021 22:21:58 +1200 Subject: [PATCH] reduce dex liquidation slippage (#1273) --- runtime/karura/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index 829d8e1669..afd3738f67 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -970,7 +970,7 @@ parameter_types! { pub DefaultDebitExchangeRate: ExchangeRate = ExchangeRate::saturating_from_rational(1, 10); pub DefaultLiquidationPenalty: Rate = Rate::saturating_from_rational(8, 100); pub MinimumDebitValue: Balance = 20 * dollar(KUSD); - pub MaxSlippageSwapWithDEX: Ratio = Ratio::saturating_from_rational(15, 100); + pub MaxSlippageSwapWithDEX: Ratio = Ratio::saturating_from_rational(1, 100); } impl module_cdp_engine::Config for Runtime {