Skip to content

Commit

Permalink
Do not preset grandpa
Browse files Browse the repository at this point in the history
  • Loading branch information
yanganto committed Jan 14, 2020
1 parent 7f72ac1 commit 3c84811
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions node/cli/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ use sr_primitives::{
traits::{IdentifyAccount, Verify},
Perbill,
};
use std::env;
use substrate_service::Properties;
use substrate_telemetry::TelemetryEndpoints;

Expand Down Expand Up @@ -67,14 +66,14 @@ pub fn gen_icefrog_testnet_config() -> ChainSpec {
(
hex!["be3fd892bf0e2b33dbfcf298c99a9f71e631a57af6c017dc5ac078c5d5b3494b"].into(), //stash
hex!["70bf51d123581d6e51af70b342cac75ae0a0fc71d1a8d388719139af9c042b18"].into(),
get_from_seed::<GrandpaId>(&env::var("ALICE_SECRET").expect("Alice secret key missing")),
get_from_seed::<GrandpaId>("Alice"),
get_from_seed::<BabeId>("Alice"),
get_from_seed::<ImOnlineId>("Alice"),
),
(
hex!["e2f560c01a2d8e98d313d6799185c28a39e10896332b56304ff46392f585024c"].into(), //stash
hex!["94c51178449c09eec77918ea951fa3244f7b841eea1dd1489d2b5f2a53f8840f"].into(),
get_from_seed::<GrandpaId>(&env::var("BOB_SECRET").expect("Bob secret key missing")),
get_from_seed::<GrandpaId>("Bob"),
get_from_seed::<BabeId>("Bob"),
get_from_seed::<ImOnlineId>("Bob"),
),
Expand Down

0 comments on commit 3c84811

Please sign in to comment.