* Update to rc6.

* Update runtime.

* Update node to rc6.

* Update client.

* Fix node.

* Add option to enable telemetry.
This commit is contained in:
David Craven
2020-07-27 09:53:02 +02:00
committed by GitHub
parent cd6b8f43f1
commit e6f3a82f99
12 changed files with 583 additions and 467 deletions
+6 -3
View File
@@ -490,12 +490,15 @@ mod tests {
path: tmp.path().join("keystore"),
password: None,
},
builder: test_node::service::new_full,
chain_spec: test_node::chain_spec::development_config(),
chain_spec: test_node::chain_spec::development_config().unwrap(),
role: Role::Authority(key),
enable_telemetry: false,
};
let client = ClientBuilder::new()
.set_client(SubxtClient::new(config).expect("Error creating subxt client"))
.set_client(
SubxtClient::from_config(config, test_node::service::new_full)
.expect("Error creating subxt client"),
)
.build()
.await
.expect("Error creating client");