Skip to content

Commit

Permalink
add valdators 6-10. fix validator indexes with new keys. update spec …
Browse files Browse the repository at this point in the history
…version to 6 (#179)
  • Loading branch information
ltfschoen authored Apr 21, 2021
1 parent 4dda632 commit e49e8a9
Show file tree
Hide file tree
Showing 10 changed files with 1,067 additions and 367 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ authors = ['MXC Foundation gGmbH <https://t.me/mxcfoundation>', 'Luke Schoen <lu
build = 'build.rs'
edition = '2018'
name = 'datahighway'
version = '3.0.2'
version = '3.0.3'

[[bin]]
name = 'datahighway'
Expand All @@ -22,12 +22,12 @@ structopt = '0.3.8'
hex-literal = '0.3.1'

# local node-specific dependencies
datahighway-runtime = { version = '3.0.2', path = '../runtime' }
datahighway-runtime = { version = '3.0.3', path = '../runtime' }

# Substrate dependencies
frame-benchmarking = '3.1.0'
frame-benchmarking-cli = '3.0.0'
module-primitives = { version = '3.0.2', default-features = false, path = '../pallets/primitives' }
module-primitives = { version = '3.0.3', default-features = false, path = '../pallets/primitives' }
pallet-authority-discovery = '3.0.0'
pallet-democracy = '3.0.0'
pallet-im-online = '3.0.0'
Expand Down
592 changes: 366 additions & 226 deletions node/src/chain-built/chain_def_westlake.json

Large diffs are not rendered by default.

555 changes: 470 additions & 85 deletions node/src/chain-built/chain_spec_westlake.json

Large diffs are not rendered by default.

Binary file modified node/src/chain-built/datahighway_runtime.compact.wasm
Binary file not shown.
261 changes: 218 additions & 43 deletions node/src/chain_spec.rs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pallets/mining/eligibility/proxy/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mining-eligibility-proxy"
version = "3.0.2"
version = "3.0.3"
authors = ["Luke Schoen"]
edition = "2018"

Expand Down Expand Up @@ -31,7 +31,7 @@ std = [
codec = { version = '2.0.0', package = 'parity-scale-codec', default-features = false, features = ['derive'] }
frame-support = { version = '3.0.0', default-features = false }
frame-system = { version = '3.0.0', default-features = false }
module-primitives = { version = '3.0.2', default-features = false, path = '../../../primitives' }
module-primitives = { version = '3.0.3', default-features = false, path = '../../../primitives' }
safe-mix = { version = '1.0.0', default-features = false }
pallet-balances = { version = '3.0.0', default-features = false }
pallet-randomness-collective-flip = { version = '3.0.0', default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion pallets/primitives/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = 'module-primitives'
version = '3.0.2'
version = '3.0.3'
authors = ['Laminar Developers <hello@laminar.one>', 'MXC Foundation GmbH <https://t.me/mxcfoundation>', 'Luke Schoen']
edition = '2018'

Expand Down
2 changes: 1 addition & 1 deletion runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ['MXC Foundation gGmbH <https://t.me/mxcfoundation>', 'Luke Schoen <luke@mxc.org>', 'Ilya Beregovskiy <ilya@mxc.org>']
edition = '2018'
name = 'datahighway-runtime'
version = '3.0.2'
version = '3.0.3'

[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']
Expand Down
4 changes: 2 additions & 2 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("datahighway"),
impl_name: create_runtime_str!("datahighway"),
authoring_version: 2,
spec_version: 5,
spec_version: 6,
impl_version: 2,
apis: RUNTIME_API_VERSIONS,
transaction_version: 2,
Expand Down Expand Up @@ -571,7 +571,7 @@ parameter_types! {
pub const TermDuration: BlockNumber = 7 * DAYS;
// Check chain_spec. This value should be greater than or equal to the amount of
// endowed accounts that are added to election_phragmen
pub const DesiredMembers: u32 = 19;
pub const DesiredMembers: u32 = 62; // validators 1-10 + sudo + treasury
pub const DesiredRunnersUp: u32 = 7;
pub const ElectionsPhragmenModuleId: LockIdentifier = *b"phrelect";
}
Expand Down

0 comments on commit e49e8a9

Please sign in to comment.