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> { ...@@ -797,7 +797,7 @@ pub fn polkadot_staging_testnet_config() -> Result<PolkadotChainSpec, String> {
move || polkadot_staging_testnet_config_genesis(wasm_binary), move || polkadot_staging_testnet_config_genesis(wasm_binary),
boot_nodes, boot_nodes,
Some( 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"), .expect("Polkadot Staging telemetry url is valid; qed"),
), ),
Some(DEFAULT_PROTOCOL_ID), Some(DEFAULT_PROTOCOL_ID),
...@@ -818,7 +818,7 @@ pub fn kusama_staging_testnet_config() -> Result<KusamaChainSpec, String> { ...@@ -818,7 +818,7 @@ pub fn kusama_staging_testnet_config() -> Result<KusamaChainSpec, String> {
move || kusama_staging_testnet_config_genesis(wasm_binary), move || kusama_staging_testnet_config_genesis(wasm_binary),
boot_nodes, boot_nodes,
Some( 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"), .expect("Kusama Staging telemetry url is valid; qed"),
), ),
Some(DEFAULT_PROTOCOL_ID), Some(DEFAULT_PROTOCOL_ID),
...@@ -839,7 +839,7 @@ pub fn westend_staging_testnet_config() -> Result<WestendChainSpec, String> { ...@@ -839,7 +839,7 @@ pub fn westend_staging_testnet_config() -> Result<WestendChainSpec, String> {
move || westend_staging_testnet_config_genesis(wasm_binary), move || westend_staging_testnet_config_genesis(wasm_binary),
boot_nodes, boot_nodes,
Some( 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"), .expect("Westend Staging telemetry url is valid; qed"),
), ),
Some(DEFAULT_PROTOCOL_ID), Some(DEFAULT_PROTOCOL_ID),
...@@ -860,7 +860,7 @@ pub fn rococo_staging_testnet_config() -> Result<RococoChainSpec, String> { ...@@ -860,7 +860,7 @@ pub fn rococo_staging_testnet_config() -> Result<RococoChainSpec, String> {
move || rococo_staging_testnet_config_genesis(wasm_binary), move || rococo_staging_testnet_config_genesis(wasm_binary),
boot_nodes, boot_nodes,
Some( 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"), .expect("Rococo Staging telemetry url is valid; qed"),
), ),
Some(DEFAULT_PROTOCOL_ID), 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