From 2cc9329b09b658fea53ec5ec6373cc9a7d8d18e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Tue, 16 Mar 2021 15:42:56 +0100 Subject: [PATCH] Update diener to enable polkadot companions that use new crates (#8371) * Update diener to enable polkadot companions that use new crates Diener will be updated in the CI image to make it possible to have companions that add new crates from Substrate. Besides that the wasm-bindgen is updated, because `0.2.70` is not available anymore on crates.io. * update lock Co-authored-by: kianenigma --- .../gitlab/check_polkadot_companion_build.sh | 3 +-- substrate/Cargo.lock | 20 +++++++++---------- substrate/bin/node/browser-testing/Cargo.toml | 2 +- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/substrate/.maintain/gitlab/check_polkadot_companion_build.sh b/substrate/.maintain/gitlab/check_polkadot_companion_build.sh index bf8fbf5aaf..c1fd736523 100755 --- a/substrate/.maintain/gitlab/check_polkadot_companion_build.sh +++ b/substrate/.maintain/gitlab/check_polkadot_companion_build.sh @@ -86,10 +86,9 @@ else fi # Patch all Substrate crates in Polkadot -diener patch --crates-to-patch ../ --substrate +diener patch --crates-to-patch ../ --substrate --path Cargo.toml # Test Polkadot pr or master branch with this Substrate commit. -cargo update -p sp-io time cargo test --all --release --verbose --features=real-overseer cd parachain/test-parachains/adder/collator/ diff --git a/substrate/Cargo.lock b/substrate/Cargo.lock index 536a26ac20..1ddc75fe7c 100644 --- a/substrate/Cargo.lock +++ b/substrate/Cargo.lock @@ -10399,9 +10399,9 @@ checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" [[package]] name = "wasm-bindgen" -version = "0.2.70" +version = "0.2.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55c0f7123de74f0dab9b7d00fd614e7b19349cd1e2f5252bbe9b1754b59433be" +checksum = "7ee1280240b7c461d6a0071313e08f34a60b0365f14260362e5a2b17d1d31aa7" dependencies = [ "cfg-if 1.0.0", "serde", @@ -10411,9 +10411,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.70" +version = "0.2.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7bc45447f0d4573f3d65720f636bbcc3dd6ce920ed704670118650bcd47764c7" +checksum = "5b7d8b6942b8bb3a9b0e73fc79b98095a27de6fa247615e59d096754a3bc2aa8" dependencies = [ "bumpalo", "lazy_static", @@ -10438,9 +10438,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.70" +version = "0.2.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b8853882eef39593ad4174dd26fc9865a64e84026d223f63bb2c42affcbba2c" +checksum = "e5ac38da8ef716661f0f36c0d8320b89028efe10c7c0afde65baffb496ce0d3b" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -10448,9 +10448,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.70" +version = "0.2.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4133b5e7f2a531fa413b3a1695e925038a05a71cf67e87dafa295cb645a01385" +checksum = "cc053ec74d454df287b9374ee8abb36ffd5acb95ba87da3ba5b7d3fe20eb401e" dependencies = [ "proc-macro2", "quote", @@ -10461,9 +10461,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.70" +version = "0.2.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd4945e4943ae02d15c13962b38a5b1e81eadd4b71214eee75af64a4d6a4fd64" +checksum = "7d6f8ec44822dd71f5f221a5847fb34acd9060535c1211b70a05844c0f6383b1" [[package]] name = "wasm-bindgen-test" diff --git a/substrate/bin/node/browser-testing/Cargo.toml b/substrate/bin/node/browser-testing/Cargo.toml index fe83cc65ba..f57bc20bc3 100644 --- a/substrate/bin/node/browser-testing/Cargo.toml +++ b/substrate/bin/node/browser-testing/Cargo.toml @@ -12,7 +12,7 @@ libp2p = { version = "0.35.1", default-features = false } jsonrpc-core = "15.0.0" serde = "1.0.106" serde_json = "1.0.48" -wasm-bindgen = { version = "=0.2.70", features = ["serde-serialize"] } +wasm-bindgen = { version = "=0.2.71", features = ["serde-serialize"] } wasm-bindgen-futures = "0.4.18" wasm-bindgen-test = "0.3.18" futures = "0.3.9"