diff --git a/polkadot/service/src/chain_spec.rs b/polkadot/service/src/chain_spec.rs index 3d1e63c6dd..dad7d04603 100644 --- a/polkadot/service/src/chain_spec.rs +++ b/polkadot/service/src/chain_spec.rs @@ -54,7 +54,8 @@ fn staging_testnet_config_genesis() -> GenesisConfig { const DAYS: u64 = HOURS * 24; GenesisConfig { consensus: Some(ConsensusConfig { - code: include_bytes!("../../runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.compact.wasm").to_vec(), // TODO change + // TODO: Change after Substrate 1252 is fixed (https://github.com/paritytech/substrate/issues/1252) + code: include_bytes!("../../runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.compact.wasm").to_vec(), authorities: initial_authorities.clone(), }), system: None, diff --git a/polkadot/service/src/lib.rs b/polkadot/service/src/lib.rs index ac96a3b71f..77f667c766 100644 --- a/polkadot/service/src/lib.rs +++ b/polkadot/service/src/lib.rs @@ -178,7 +178,9 @@ construct_service_factory! { { let voter = grandpa::run_grandpa( grandpa::Config { - gossip_duration: Duration::new(4, 0), // FIXME: make this available through chainspec? + // TODO: make gossip_duration available through chainspec + // https://github.com/paritytech/substrate/issues/1578 + gossip_duration: Duration::new(4, 0), local_key: key.clone(), justification_period: 4096, name: Some(service.config.name.clone()),