Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/auction-manager/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ impl PriceProvider<CurrencyId> for MockPriceSource {
parameter_types! {
pub const DEXPalletId: PalletId = PalletId(*b"aca/dexm");
pub const GetExchangeFee: (u32, u32) = (0, 100);
pub const TradingPathLimit: u32 = 3;
pub const TradingPathLimit: u32 = 4;
pub EnabledTradingPairs: Vec<TradingPair> = vec![
TradingPair::from_currency_ids(AUSD, BTC).unwrap(),
TradingPair::from_currency_ids(DOT, BTC).unwrap(),
Expand Down
2 changes: 1 addition & 1 deletion modules/cdp-engine/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ impl cdp_treasury::Config for Runtime {
parameter_types! {
pub const DEXPalletId: PalletId = PalletId(*b"aca/dexm");
pub const GetExchangeFee: (u32, u32) = (0, 100);
pub const TradingPathLimit: u32 = 3;
pub const TradingPathLimit: u32 = 4;
pub EnabledTradingPairs: Vec<TradingPair> = vec![
TradingPair::from_currency_ids(AUSD, BTC).unwrap(),
TradingPair::from_currency_ids(AUSD, DOT).unwrap(),
Expand Down
2 changes: 1 addition & 1 deletion modules/cdp-treasury/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ impl orml_currencies::Config for Runtime {
parameter_types! {
pub const GetStableCurrencyId: CurrencyId = AUSD;
pub const GetExchangeFee: (u32, u32) = (0, 100);
pub const TradingPathLimit: u32 = 3;
pub const TradingPathLimit: u32 = 4;
pub EnabledTradingPairs: Vec<TradingPair> = vec![
TradingPair::from_currency_ids(AUSD, BTC).unwrap(),
TradingPair::from_currency_ids(AUSD, DOT).unwrap(),
Expand Down
2 changes: 1 addition & 1 deletion modules/transaction-payment/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ ord_parameter_types! {
parameter_types! {
pub const DEXPalletId: PalletId = PalletId(*b"aca/dexm");
pub const GetExchangeFee: (u32, u32) = (0, 100);
pub const TradingPathLimit: u32 = 3;
pub const TradingPathLimit: u32 = 4;
pub EnabledTradingPairs: Vec<TradingPair> = vec![
TradingPair::from_currency_ids(AUSD, ACA).unwrap(),
TradingPair::from_currency_ids(AUSD, DOT).unwrap(),
Expand Down
2 changes: 1 addition & 1 deletion runtime/acala/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ impl module_emergency_shutdown::Config for Runtime {

parameter_types! {
pub const GetExchangeFee: (u32, u32) = (3, 1000); // 0.3%
pub const TradingPathLimit: u32 = 3;
pub const TradingPathLimit: u32 = 4;
}

impl module_dex::Config for Runtime {
Expand Down
2 changes: 1 addition & 1 deletion runtime/common/src/precompile/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ ord_parameter_types! {

parameter_types! {
pub const GetExchangeFee: (u32, u32) = (1, 100);
pub const TradingPathLimit: u32 = 3;
pub const TradingPathLimit: u32 = 4;
pub const DEXPalletId: PalletId = PalletId(*b"aca/dexm");
}

Expand Down
2 changes: 1 addition & 1 deletion runtime/karura/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@ impl module_emergency_shutdown::Config for Runtime {

parameter_types! {
pub const GetExchangeFee: (u32, u32) = (3, 1000); // 0.3%
pub const TradingPathLimit: u32 = 3;
pub const TradingPathLimit: u32 = 4;
}

impl module_dex::Config for Runtime {
Expand Down
2 changes: 1 addition & 1 deletion runtime/mandala/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@ impl module_emergency_shutdown::Config for Runtime {

parameter_types! {
pub const GetExchangeFee: (u32, u32) = (1, 1000); // 0.1%
pub const TradingPathLimit: u32 = 3;
pub const TradingPathLimit: u32 = 4;
pub EnabledTradingPairs: Vec<TradingPair> = vec![
TradingPair::from_currency_ids(AUSD, ACA).unwrap(),
TradingPair::from_currency_ids(AUSD, DOT).unwrap(),
Expand Down