Skip to content

Commit

Permalink
Merge pull request #173 from galacticcouncil/reward-curve-testnet
Browse files Browse the repository at this point in the history
feat!: set reward curve params for inc. testnet
  • Loading branch information
green-jay committed Mar 22, 2021
2 parents 0b06661 + 3ff5432 commit cf5130c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ homepage = 'https://github.com/galacticcouncil/hydradx-node'
license = 'Unlicense'
name = 'hydra-dx-runtime'
repository = 'https://github.com/galacticcouncil/hydradx-node'
version = '3.0.0'
version = '4.0.0'

[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']
Expand Down
6 changes: 3 additions & 3 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("hydra-dx"),
impl_name: create_runtime_str!("hydra-dx"),
authoring_version: 1,
spec_version: 3,
spec_version: 4,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down Expand Up @@ -436,8 +436,8 @@ impl pallet_authorship::Config for Runtime {
pallet_staking_reward_curve::build! {
const REWARD_CURVE: PiecewiseLinear<'static> = curve!(
min_inflation: 0_040_000,
max_inflation: 0_120_000,
ideal_stake: 0_900_000,
max_inflation: 0_080_000,
ideal_stake: 0_160_000,
falloff: 1_000_000,
max_piece_count: 40,
test_precision: 0_005_000,
Expand Down

0 comments on commit cf5130c

Please sign in to comment.