mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 06:27:58 +00:00
Fix lightclient WASM tests (#1287)
* Remove 1 explicit bootnode; I think it stopped working so our tests did too * Remove comment Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com> --------- Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
This commit is contained in:
@@ -32,11 +32,7 @@ wasm_bindgen_test::wasm_bindgen_test_configure!(run_in_browser);
|
||||
|
||||
#[wasm_bindgen_test]
|
||||
async fn light_client_works() {
|
||||
// Use a polkadot trusted DNS.
|
||||
let api: LightClient<PolkadotConfig> = LightClientBuilder::new()
|
||||
.bootnodes(
|
||||
["/dns/polkadot-connect-0.parity.io/tcp/443/wss/p2p/12D3KooWEPmjoRpDSUuiTjvyNDd8fejZ9eNWH5bE965nyBMDrB4o"]
|
||||
)
|
||||
.build_from_url("wss://rpc.polkadot.io:443")
|
||||
.await
|
||||
.expect("Cannot construct light client");
|
||||
|
||||
Reference in New Issue
Block a user