Skip to content

Commit

Permalink
Merge pull request #1020 from galacticcouncil/chore/staking-decrease-…
Browse files Browse the repository at this point in the history
…min-slash

chore: lower staking min. slash
  • Loading branch information
martinfridrich authored Feb 6, 2025
2 parents 450a986 + 05ebea4 commit 53a1006
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions 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 integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "runtime-integration-tests"
version = "1.32.0"
version = "1.32.1"
description = "Integration tests"
authors = ["GalacticCouncil"]
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/src/staking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ fn increase_should_slash_min_amount_when_increase_is_low() {

let stake_position =
pallet_staking::Pallet::<hydradx_runtime::Runtime>::get_position(alice_position_id).unwrap();
assert_eq!(stake_position.accumulated_slash_points, 50);
assert_eq!(stake_position.accumulated_slash_points, 5);
});
}

Expand Down
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 = "283.0.0"
version = "284.0.0"
authors = ["GalacticCouncil"]
edition = "2021"
license = "Apache 2.0"
Expand Down
2 changes: 1 addition & 1 deletion runtime/hydradx/src/assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1460,7 +1460,7 @@ pub struct StakingMinSlash;

impl GetByKey<FixedU128, Point> for StakingMinSlash {
fn get(_k: &FixedU128) -> Point {
50_u128
5_u128
}
}

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 @@ -113,7 +113,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("hydradx"),
impl_name: create_runtime_str!("hydradx"),
authoring_version: 1,
spec_version: 283,
spec_version: 284,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down

0 comments on commit 53a1006

Please sign in to comment.