From 2fe781bdb9fc0c180461fcf29bdc3c06b3919503 Mon Sep 17 00:00:00 2001 From: martinfridrich Date: Wed, 29 May 2024 17:58:40 +0200 Subject: [PATCH] lower minTotalRewards for omnipool lm --- Cargo.lock | 2 +- runtime/hydradx/Cargo.toml | 2 +- runtime/hydradx/src/assets.rs | 8 ++++---- runtime/hydradx/src/lib.rs | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 448068c54..9d65ff9aa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4671,7 +4671,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "240.0.0" +version = "241.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index 9c6bdfa5b..52353cede 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "240.0.0" +version = "241.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index e1fcd77f9..f921580b2 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -574,10 +574,10 @@ impl pallet_duster::Config for Runtime { parameter_types! { pub const OmniWarehouseLMPalletId: PalletId = PalletId(*b"OmniWhLM"); #[derive(PartialEq, Eq)] - pub const MaxEntriesPerDeposit: u8 = 5; //NOTE: Rebenchmark when this change, TODO: - pub const MaxYieldFarmsPerGlobalFarm: u8 = 50; //NOTE: Includes deleted/destroyed farms, TODO: - pub const MinPlannedYieldingPeriods: BlockNumber = 14_440; //1d with 6s blocks, TODO: - pub const MinTotalFarmRewards: Balance = NATIVE_EXISTENTIAL_DEPOSIT * 100; //TODO: + pub const MaxEntriesPerDeposit: u8 = 5; //NOTE: Rebenchmark when this change + pub const MaxYieldFarmsPerGlobalFarm: u8 = 50; //NOTE: Includes deleted/destroyed farms + pub const MinPlannedYieldingPeriods: BlockNumber = 14_440; //1d with 6s blocks + pub const MinTotalFarmRewards: Balance = NATIVE_EXISTENTIAL_DEPOSIT; pub const OmnipoolLmOracle: [u8; 8] = OMNIPOOL_SOURCE; } diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index e3181a581..9ed880600 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -109,7 +109,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 240, + spec_version: 241, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1,