Commit 816a3633 authored by Cecile Tonglet's avatar Cecile Tonglet
Browse files

WIP

parent 99560cdb
......@@ -797,7 +797,7 @@ pub fn polkadot_staging_testnet_config() -> Result<PolkadotChainSpec, String> {
move || polkadot_staging_testnet_config_genesis(wasm_binary),
boot_nodes,
Some(
TelemetryEndpoints::new(vec![(POLKADOT_STAGING_TELEMETRY_URL.to_string(), 0)])
TelemetryEndpoints::new(vec![(POLKADOT_STAGING_TELEMETRY_URL.to_string(), 0)].iter())
.expect("Polkadot Staging telemetry url is valid; qed"),
),
Some(DEFAULT_PROTOCOL_ID),
......@@ -818,7 +818,7 @@ pub fn kusama_staging_testnet_config() -> Result<KusamaChainSpec, String> {
move || kusama_staging_testnet_config_genesis(wasm_binary),
boot_nodes,
Some(
TelemetryEndpoints::new(vec![(KUSAMA_STAGING_TELEMETRY_URL.to_string(), 0)])
TelemetryEndpoints::new(vec![(KUSAMA_STAGING_TELEMETRY_URL.to_string(), 0)].iter())
.expect("Kusama Staging telemetry url is valid; qed"),
),
Some(DEFAULT_PROTOCOL_ID),
......@@ -839,7 +839,7 @@ pub fn westend_staging_testnet_config() -> Result<WestendChainSpec, String> {
move || westend_staging_testnet_config_genesis(wasm_binary),
boot_nodes,
Some(
TelemetryEndpoints::new(vec![(WESTEND_STAGING_TELEMETRY_URL.to_string(), 0)])
TelemetryEndpoints::new(vec![(WESTEND_STAGING_TELEMETRY_URL.to_string(), 0)].iter())
.expect("Westend Staging telemetry url is valid; qed"),
),
Some(DEFAULT_PROTOCOL_ID),
......@@ -860,7 +860,7 @@ pub fn rococo_staging_testnet_config() -> Result<RococoChainSpec, String> {
move || rococo_staging_testnet_config_genesis(wasm_binary),
boot_nodes,
Some(
TelemetryEndpoints::new(vec![(ROCOCO_STAGING_TELEMETRY_URL.to_string(), 0)])
TelemetryEndpoints::new(vec![(ROCOCO_STAGING_TELEMETRY_URL.to_string(), 0)].iter())
.expect("Rococo Staging telemetry url is valid; qed"),
),
Some(DEFAULT_PROTOCOL_ID),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment