From 5648f936b5cfc56acfa826ebe24b55f50a1d2d99 Mon Sep 17 00:00:00 2001 From: Shamil Gadelshin Date: Wed, 3 Dec 2025 14:46:31 +0300 Subject: [PATCH 1/2] Update SwapMaxFeeRate --- runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index f10d7c067b..aa9cc2359e 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -1138,7 +1138,7 @@ impl pallet_subtensor::Config for Runtime { parameter_types! { pub const SwapProtocolId: PalletId = PalletId(*b"ten/swap"); - pub const SwapMaxFeeRate: u16 = 10000; // 15.26% + pub const SwapMaxFeeRate: u16 = 1310; // 2% pub const SwapMaxPositions: u32 = 100; pub const SwapMinimumLiquidity: u64 = 1_000; pub const SwapMinimumReserve: NonZeroU64 = unsafe { NonZeroU64::new_unchecked(1_000_000) }; From bddf700c1c6c524fa099b1172bd60d54b7a4b21a Mon Sep 17 00:00:00 2001 From: Shamil Gadelshin Date: Thu, 4 Dec 2025 13:34:02 +0300 Subject: [PATCH 2/2] Bump spec version --- runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index aa9cc2359e..bbb004d20e 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -237,7 +237,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // `spec_version`, and `authoring_version` are the same between Wasm and native. // This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use // the compatible custom types. - spec_version: 354, + spec_version: 355, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1,