Skip to content

Commit

Permalink
Shiden: set max stakers to 512, set minimum stake to 50 SDN (#523)
Browse files Browse the repository at this point in the history
  • Loading branch information
akru authored Nov 25, 2021
1 parent 8324d79 commit 1633abb
Show file tree
Hide file tree
Showing 8 changed files with 183 additions and 194 deletions.
359 changes: 174 additions & 185 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/collator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "astar-collator"
version = "3.1.0"
version = "3.1.1"
authors = ["Stake Technologies <[email protected]>"]
description = "Astar collator implementation in Rust."
build = "build.rs"
Expand Down
2 changes: 1 addition & 1 deletion runtime/astar/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "astar-runtime"
version = "3.1.0"
version = "3.1.1"
authors = ["Stake Technologies <[email protected]>"]
edition = "2018"
build = "build.rs"
Expand Down
2 changes: 1 addition & 1 deletion runtime/local/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "local-runtime"
version = "3.1.0"
version = "3.1.1"
authors = ["Stake Technologies <[email protected]>"]
edition = "2018"
build = "build.rs"
Expand Down
2 changes: 1 addition & 1 deletion runtime/shibuya/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shibuya-runtime"
version = "3.1.0"
version = "3.1.1"
authors = ["Stake Technologies <[email protected]>"]
edition = "2018"
build = "build.rs"
Expand Down
2 changes: 1 addition & 1 deletion runtime/shibuya/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("shibuya"),
impl_name: create_runtime_str!("shibuya"),
authoring_version: 1,
spec_version: 20,
spec_version: 21,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down
2 changes: 1 addition & 1 deletion runtime/shiden/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shiden-runtime"
version = "3.1.0"
version = "3.1.1"
authors = ["Stake Technologies <[email protected]>"]
edition = "2018"
build = "build.rs"
Expand Down
6 changes: 3 additions & 3 deletions runtime/shiden/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("shiden"),
impl_name: create_runtime_str!("shiden"),
authoring_version: 1,
spec_version: 30,
spec_version: 31,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down Expand Up @@ -267,8 +267,8 @@ parameter_types! {
pub const BlockPerEra: BlockNumber = 1 * DAYS;
pub const RegisterDeposit: Balance = 100 * SDN;
pub const DeveloperRewardPercentage: Perbill = Perbill::from_percent(50);
pub const MaxNumberOfStakersPerContract: u32 = 1024;
pub const MinimumStakingAmount: Balance = 100 * SDN;
pub const MaxNumberOfStakersPerContract: u32 = 512;
pub const MinimumStakingAmount: Balance = 50 * SDN;
pub const MinimumRemainingAmount: Balance = 1 * SDN;
pub const HistoryDepth: u32 = 14;
pub const BonusEraDuration: u32 = 10;
Expand Down

0 comments on commit 1633abb

Please sign in to comment.