Skip to content

Commit

Permalink
Merge pull request #830 from galacticcouncil/chore/lower-omnipool-lm-…
Browse files Browse the repository at this point in the history
…min-total-rewards

chore: lower `minTotalFarmRewards` for omnipool liquidity mining
  • Loading branch information
mrq1911 authored May 29, 2024
2 parents 067d107 + 2fe781b commit 0b662d0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion runtime/hydradx/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hydradx-runtime"
version = "240.0.0"
version = "241.0.0"
authors = ["GalacticCouncil"]
edition = "2021"
license = "Apache 2.0"
Expand Down
8 changes: 4 additions & 4 deletions runtime/hydradx/src/assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion runtime/hydradx/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0b662d0

Please sign in to comment.