From 19556af136941ba269e3eed2ab583063f64a5f9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksandar=20Terenti=C4=87?= Date: Fri, 4 Oct 2024 12:15:53 +0200 Subject: [PATCH] Make avail-rust wasm compatible --- avail-rust/Cargo.lock | 600 +++++++++++++++++++++++++----------------- avail-rust/Cargo.toml | 29 +- 2 files changed, 385 insertions(+), 244 deletions(-) diff --git a/avail-rust/Cargo.lock b/avail-rust/Cargo.lock index f897e48c7..da18d1ea9 100644 --- a/avail-rust/Cargo.lock +++ b/avail-rust/Cargo.lock @@ -52,17 +52,6 @@ version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0453232ace82dee0dd0b4c87a59bd90f7b53b314f3e0f61fe2ee7c8a16482289" -[[package]] -name = "ahash" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" -dependencies = [ - "getrandom", - "once_cell", - "version_check", -] - [[package]] name = "ahash" version = "0.8.11" @@ -132,7 +121,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -369,7 +358,7 @@ dependencies = [ "ark-ff", "ark-serialize", "ark-std", - "ark-transcript", + "ark-transcript 0.0.2 (git+https://github.com/w3f/ring-vrf?rev=e9782f9)", "digest 0.10.7", "getrandom_or_panic", "zeroize", @@ -409,6 +398,20 @@ dependencies = [ "rayon", ] +[[package]] +name = "ark-transcript" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "563084372d89271122bd743ef0a608179726f5fad0566008ba55bd0f756489b8" +dependencies = [ + "ark-ff", + "ark-serialize", + "ark-std", + "digest 0.10.7", + "rand_core", + "sha3", +] + [[package]] name = "ark-transcript" version = "0.0.2" @@ -418,7 +421,7 @@ dependencies = [ "ark-serialize", "ark-std", "digest 0.10.7", - "rand_core 0.6.4", + "rand_core", "sha3", ] @@ -578,7 +581,7 @@ checksum = "6e0c28dcc82d7c8ead5cb13beb15405b57b8546e93215673ff8ca0349a028107" dependencies = [ "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -602,11 +605,11 @@ checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "avail-core" version = "0.6.2" -source = "git+https://github.com/availproject/avail-core?branch=toufeeq/fix-fee-payment#df2d0c34366323d465ca344d3bc0275a630bbe6c" +source = "git+https://github.com/availproject/avail-core?tag=core-node-4#b845db8a6c46cb00e21396ae26f4d72ffdd6e567" dependencies = [ "binary-merkle-tree", "bounded-collections", - "derive_more", + "derive_more 0.99.18", "ethabi-decode", "frame-support", "hash256-std-hasher", @@ -619,8 +622,8 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-runtime-interface 24.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", - "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-runtime-interface 24.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", + "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", "sp-trie", "static_assertions", "thiserror-no-std", @@ -634,7 +637,7 @@ dependencies = [ "avail-core", "base58", "bounded-collections", - "derive_more", + "derive_more 1.0.0", "hex", "kate-recovery", "parity-scale-codec", @@ -642,6 +645,7 @@ dependencies = [ "serde", "serde_json", "sp-core", + "sp-io", "subxt", "subxt-core", "subxt-signer", @@ -678,7 +682,7 @@ dependencies = [ "fflonk", "merlin", "rand_chacha", - "rand_core 0.6.4", + "rand_core", "ring 0.1.0", "sha2 0.10.8", "sp-ark-bls12-381", @@ -734,7 +738,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "13.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "hash-db", "log", @@ -757,7 +761,7 @@ checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" dependencies = [ "bitcoin_hashes", "rand", - "rand_core 0.6.4", + "rand_core", "serde", "unicode-normalization", ] @@ -977,7 +981,7 @@ dependencies = [ [[package]] name = "common" version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof#665f5f51af5734c7b6d90b985dd6861d4c5b4752" +source = "git+https://github.com/w3f/ring-proof#652286c32f96beb9ce7f5793f5e2c2c923f63b73" dependencies = [ "ark-ec", "ark-ff", @@ -986,8 +990,7 @@ dependencies = [ "ark-std", "fflonk", "getrandom_or_panic", - "merlin", - "rand_chacha", + "rand_core", ] [[package]] @@ -1055,6 +1058,15 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" +[[package]] +name = "convert_case" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca" +dependencies = [ + "unicode-segmentation", +] + [[package]] name = "core-foundation" version = "0.9.4" @@ -1154,7 +1166,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" dependencies = [ "generic-array", - "rand_core 0.6.4", + "rand_core", "subtle", "zeroize", ] @@ -1166,7 +1178,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ "generic-array", - "rand_core 0.6.4", + "rand_core", "typenum", ] @@ -1190,19 +1202,6 @@ dependencies = [ "subtle", ] -[[package]] -name = "curve25519-dalek" -version = "3.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b9fdf9972b2bd6af2d913799d9ebc165ea4d2e65878e329d9c6b372c4491b61" -dependencies = [ - "byteorder", - "digest 0.9.0", - "rand_core 0.5.1", - "subtle", - "zeroize", -] - [[package]] name = "curve25519-dalek" version = "4.1.3" @@ -1227,7 +1226,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -1275,7 +1274,7 @@ dependencies = [ "proc-macro2", "quote", "strsim 0.11.1", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -1297,7 +1296,7 @@ checksum = "733cabb43482b1a1b53eee8583c2b9e8684d592215ea83efd305dd31bc2f0178" dependencies = [ "darling_core 0.20.9", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -1360,7 +1359,7 @@ checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" dependencies = [ "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -1371,7 +1370,7 @@ checksum = "62d671cc41a825ebabc75757b62d3d168c577f9149b2d49ece1dad1f72119d25" dependencies = [ "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -1380,11 +1379,33 @@ version = "0.99.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" dependencies = [ - "convert_case", + "convert_case 0.4.0", "proc-macro2", "quote", "rustc_version", - "syn 2.0.69", + "syn 2.0.79", +] + +[[package]] +name = "derive_more" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a9b99b9cbbe49445b21764dc0625032a89b145a2642e67603e1c936f5458d05" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" +dependencies = [ + "convert_case 0.6.0", + "proc-macro2", + "quote", + "syn 2.0.79", + "unicode-xid", ] [[package]] @@ -1419,7 +1440,7 @@ dependencies = [ "ark-secret-scalar", "ark-serialize", "ark-std", - "ark-transcript", + "ark-transcript 0.0.2 (git+https://github.com/w3f/ring-vrf?rev=e9782f9)", "arrayvec 0.7.4", "zeroize", ] @@ -1445,7 +1466,7 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.69", + "syn 2.0.79", "termcolor", "toml", "walkdir", @@ -1465,7 +1486,7 @@ checksum = "81cded349291dd4620fd02065cc0fb9a1da7bea8cfe479e0dd067a4cd87225ea" dependencies = [ "byteorder", "dusk-bytes", - "rand_core 0.6.4", + "rand_core", "rayon", "subtle", ] @@ -1487,7 +1508,7 @@ checksum = "c228f2adec5255faf67fe6d106caa093a6c2ef798dca42019b684716528250ff" dependencies = [ "dusk-bls12_381", "dusk-bytes", - "rand_core 0.6.4", + "rand_core", "subtle", ] @@ -1503,7 +1524,7 @@ dependencies = [ "hashbrown 0.9.1", "itertools 0.9.0", "merlin", - "rand_core 0.6.4", + "rand_core", "rayon", ] @@ -1564,7 +1585,7 @@ version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" dependencies = [ - "curve25519-dalek 4.1.3", + "curve25519-dalek", "ed25519", "serde", "sha2 0.10.8", @@ -1572,31 +1593,17 @@ dependencies = [ "zeroize", ] -[[package]] -name = "ed25519-zebra" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c24f403d068ad0b359e577a77f92392118be3f3c927538f2bb544a5ecd828c6" -dependencies = [ - "curve25519-dalek 3.2.0", - "hashbrown 0.12.3", - "hex", - "rand_core 0.6.4", - "sha2 0.9.9", - "zeroize", -] - [[package]] name = "ed25519-zebra" version = "4.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d9ce6874da5d4415896cd45ffbc4d1cfc0c4f9c079427bd870742c30f2f65a9" dependencies = [ - "curve25519-dalek 4.1.3", + "curve25519-dalek", "ed25519", "hashbrown 0.14.5", "hex", - "rand_core 0.6.4", + "rand_core", "sha2 0.10.8", "zeroize", ] @@ -1620,7 +1627,7 @@ dependencies = [ "generic-array", "group", "pkcs8", - "rand_core 0.6.4", + "rand_core", "sec1", "subtle", "zeroize", @@ -1723,7 +1730,7 @@ dependencies = [ "prettyplease", "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -1744,7 +1751,7 @@ version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" dependencies = [ - "rand_core 0.6.4", + "rand_core", "subtle", ] @@ -1840,7 +1847,7 @@ dependencies = [ [[package]] name = "frame-support" version = "28.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "aquamarine", "array-bytes", @@ -1863,7 +1870,7 @@ dependencies = [ "sp-arithmetic", "sp-core", "sp-crypto-hashing-proc-macro", - "sp-debug-derive 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-debug-derive 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", "sp-genesis-builder", "sp-inherents", "sp-io", @@ -1871,8 +1878,8 @@ dependencies = [ "sp-runtime", "sp-staking", "sp-state-machine", - "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", - "sp-tracing 16.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", + "sp-tracing 16.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", "sp-weights", "static_assertions", "tt-call", @@ -1881,7 +1888,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "23.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "Inflector", "cfg-expr", @@ -1894,29 +1901,29 @@ dependencies = [ "proc-macro2", "quote", "sp-crypto-hashing 0.0.0", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] name = "frame-support-procedural-tools" version = "10.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] name = "frame-support-procedural-tools-derive" version = "11.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -2004,7 +2011,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -2024,6 +2031,10 @@ name = "futures-timer" version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" +dependencies = [ + "gloo-timers", + "send_wrapper 0.4.0", +] [[package]] name = "futures-util" @@ -2061,8 +2072,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", + "js-sys", "libc", "wasi", + "wasm-bindgen", ] [[package]] @@ -2072,7 +2085,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6ea1015b5a70616b688dc230cfe50c8af89d972cb132d5a622814d29773b10b9" dependencies = [ "rand", - "rand_core 0.6.4", + "rand_core", ] [[package]] @@ -2092,6 +2105,52 @@ version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" +[[package]] +name = "gloo-net" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43aaa242d1239a8822c15c645f02166398da4f8b5c4bae795c1f5b44e9eee173" +dependencies = [ + "futures-channel", + "futures-core", + "futures-sink", + "gloo-utils", + "http 0.2.12", + "js-sys", + "pin-project", + "serde", + "serde_json", + "thiserror", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + +[[package]] +name = "gloo-timers" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" +dependencies = [ + "futures-channel", + "futures-core", + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "gloo-utils" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b5555354113b18c547c1d3a98fbf7fb32a9ff4f6fa112ce823a21641a0ba3aa" +dependencies = [ + "js-sys", + "serde", + "serde_json", + "wasm-bindgen", + "web-sys", +] + [[package]] name = "group" version = "0.13.0" @@ -2099,7 +2158,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ "ff", - "rand_core 0.6.4", + "rand_core", "subtle", ] @@ -2151,9 +2210,6 @@ name = "hashbrown" version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -dependencies = [ - "ahash 0.7.8", -] [[package]] name = "hashbrown" @@ -2329,9 +2385,9 @@ dependencies = [ [[package]] name = "iana-time-zone" -version = "0.1.60" +version = "0.1.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" +checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220" dependencies = [ "android_system_properties", "core-foundation-sys", @@ -2457,6 +2513,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" dependencies = [ "cfg-if", + "js-sys", + "wasm-bindgen", + "web-sys", ] [[package]] @@ -2561,6 +2620,7 @@ checksum = "62b089779ad7f80768693755a031cc14a7766aba707cbe886674e3f79e9b7e47" dependencies = [ "jsonrpsee-core 0.23.2", "jsonrpsee-types 0.23.2", + "jsonrpsee-wasm-client", "jsonrpsee-ws-client", ] @@ -2570,7 +2630,9 @@ version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4978087a58c3ab02efc5b07c5e5e2803024536106fd5506f558db172c889b3aa" dependencies = [ + "futures-channel", "futures-util", + "gloo-net", "http 0.2.12", "jsonrpsee-core 0.22.5", "pin-project", @@ -2592,7 +2654,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08163edd8bcc466c33d79e10f695cdc98c00d1e6ddfb95cec41b6b0279dd5432" dependencies = [ "base64 0.22.1", + "futures-channel", "futures-util", + "gloo-net", "http 1.1.0", "jsonrpsee-core 0.23.2", "pin-project", @@ -2629,6 +2693,7 @@ dependencies = [ "tokio", "tokio-stream", "tracing", + "wasm-bindgen-futures", ] [[package]] @@ -2651,6 +2716,7 @@ dependencies = [ "tokio", "tokio-stream", "tracing", + "wasm-bindgen-futures", ] [[package]] @@ -2699,6 +2765,17 @@ dependencies = [ "thiserror", ] +[[package]] +name = "jsonrpsee-wasm-client" +version = "0.23.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4727ac037f834c6f04c0912cada7532dbddb54e92fbc64e33d6cb8c24af313c9" +dependencies = [ + "jsonrpsee-client-transport 0.23.2", + "jsonrpsee-core 0.23.2", + "jsonrpsee-types 0.23.2", +] + [[package]] name = "jsonrpsee-ws-client" version = "0.23.2" @@ -2728,19 +2805,21 @@ dependencies = [ [[package]] name = "kate-recovery" version = "0.10.0" -source = "git+https://github.com/availproject/avail-core?branch=toufeeq/fix-fee-payment#df2d0c34366323d465ca344d3bc0275a630bbe6c" +source = "git+https://github.com/availproject/avail-core?tag=core-node-4#b845db8a6c46cb00e21396ae26f4d72ffdd6e567" dependencies = [ "avail-core", - "derive_more", + "derive_more 0.99.18", "dusk-bytes", "dusk-plonk", + "getrandom", "once_cell", "parity-scale-codec", "rand", "rand_chacha", "serde", "sp-arithmetic", - "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-io", + "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", "static_assertions", "thiserror-no-std", ] @@ -2878,7 +2957,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -2892,7 +2971,7 @@ dependencies = [ "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -2903,7 +2982,7 @@ checksum = "b02abfe41815b5bd98dbd4260173db2c116dda171dc0fe7838cb206333b83308" dependencies = [ "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -2914,7 +2993,7 @@ checksum = "73ea28ee64b88876bf45277ed9a5817c1817df061a74f2b988971a12570e5869" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -2976,7 +3055,7 @@ checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" dependencies = [ "byteorder", "keccak", - "rand_core 0.6.4", + "rand_core", "zeroize", ] @@ -3223,7 +3302,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166" dependencies = [ "base64ct", - "rand_core 0.6.4", + "rand_core", "subtle", ] @@ -3275,7 +3354,7 @@ checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -3335,7 +3414,7 @@ dependencies = [ "polkavm-common", "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -3345,7 +3424,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" dependencies = [ "polkavm-derive-impl", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -3393,7 +3472,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" dependencies = [ "proc-macro2", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -3460,7 +3539,7 @@ checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -3474,18 +3553,18 @@ dependencies = [ [[package]] name = "psm" -version = "0.1.21" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" +checksum = "aa37f80ca58604976033fae9515a8a2989fc13797d953f7c04fb8fa36a11f205" dependencies = [ "cc", ] [[package]] name = "quote" -version = "1.0.36" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" +checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" dependencies = [ "proc-macro2", ] @@ -3504,7 +3583,7 @@ checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", "rand_chacha", - "rand_core 0.6.4", + "rand_core", ] [[package]] @@ -3514,15 +3593,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" dependencies = [ "ppv-lite86", - "rand_core 0.6.4", + "rand_core", ] -[[package]] -name = "rand_core" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" - [[package]] name = "rand_core" version = "0.6.4" @@ -3566,6 +3639,7 @@ dependencies = [ "thiserror", "tokio", "tracing", + "wasm-bindgen-futures", ] [[package]] @@ -3594,7 +3668,7 @@ checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -3654,18 +3728,18 @@ dependencies = [ [[package]] name = "ring" version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof#665f5f51af5734c7b6d90b985dd6861d4c5b4752" +source = "git+https://github.com/w3f/ring-proof#652286c32f96beb9ce7f5793f5e2c2c923f63b73" dependencies = [ "ark-ec", "ark-ff", "ark-poly", "ark-serialize", "ark-std", + "ark-transcript 0.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "arrayvec 0.7.4", "blake2", "common", "fflonk", - "merlin", ] [[package]] @@ -3889,7 +3963,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "58c4eb8a81997cf040a091d1f7e1938aeab6749d3a0dfa73af43cdc32393483d" dependencies = [ "byteorder", - "derive_more", + "derive_more 0.99.18", "twox-hash", ] @@ -3926,7 +4000,7 @@ version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e98f3262c250d90e700bb802eb704e1f841e03331c2eb815e46516c4edbf5b27" dependencies = [ - "derive_more", + "derive_more 0.99.18", "parity-scale-codec", "primitive-types", "scale-bits", @@ -3953,7 +4027,7 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ba0b9c48dc0eb20c60b083c29447c0c4617cb7c4a4c9fef72aa5c5bc539e15e" dependencies = [ - "derive_more", + "derive_more 0.99.18", "parity-scale-codec", "primitive-types", "scale-bits", @@ -3983,7 +4057,7 @@ checksum = "eca070c12893629e2cc820a9761bedf6ce1dcddc9852984d1dc734b8bd9bd024" dependencies = [ "bitvec", "cfg-if", - "derive_more", + "derive_more 0.99.18", "parity-scale-codec", "scale-info-derive", "serde", @@ -4020,7 +4094,7 @@ dependencies = [ "proc-macro2", "quote", "scale-info", - "syn 2.0.69", + "syn 2.0.79", "thiserror", ] @@ -4032,7 +4106,7 @@ checksum = "f2cf9738c263c665144177201126bdad39d3d62512152f178f35002228026976" dependencies = [ "base58", "blake2", - "derive_more", + "derive_more 0.99.18", "either", "frame-metadata 15.1.0", "parity-scale-codec", @@ -4074,10 +4148,10 @@ dependencies = [ "aead", "arrayref", "arrayvec 0.7.4", - "curve25519-dalek 4.1.3", + "curve25519-dalek", "getrandom_or_panic", "merlin", - "rand_core 0.6.4", + "rand_core", "serde_bytes", "sha2 0.10.8", "subtle", @@ -4171,11 +4245,23 @@ version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" +[[package]] +name = "send_wrapper" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f638d531eccd6e23b980caf34876660d38e265409d8e99b397ab71eb3612fad0" + +[[package]] +name = "send_wrapper" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" + [[package]] name = "serde" -version = "1.0.208" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cff085d2cb684faa248efb494c39b68e522822ac0de72ccf08109abde717cfb2" +checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a" dependencies = [ "serde_derive", ] @@ -4191,13 +4277,13 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.208" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24008e81ff7613ed8e5ba0cfaf24e2c2f1e5b8a0495711e44fcd4882fca62bcf" +checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -4304,7 +4390,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" dependencies = [ "digest 0.10.7", - "rand_core 0.6.4", + "rand_core", ] [[package]] @@ -4365,8 +4451,8 @@ dependencies = [ "bs58", "chacha20", "crossbeam-queue", - "derive_more", - "ed25519-zebra 4.0.3", + "derive_more 0.99.18", + "ed25519-zebra", "either", "event-listener 4.0.3", "fnv", @@ -4415,7 +4501,7 @@ dependencies = [ "async-lock", "base64 0.21.7", "blake2-rfc", - "derive_more", + "derive_more 0.99.18", "either", "event-listener 4.0.3", "fnv", @@ -4484,7 +4570,7 @@ dependencies = [ [[package]] name = "sp-api" version = "26.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "hash-db", "log", @@ -4492,11 +4578,11 @@ dependencies = [ "scale-info", "sp-api-proc-macro", "sp-core", - "sp-externalities 0.25.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-externalities 0.25.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", "sp-metadata-ir", "sp-runtime", "sp-state-machine", - "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", "sp-trie", "sp-version", "thiserror", @@ -4505,7 +4591,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "15.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "Inflector", "blake2", @@ -4513,33 +4599,33 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] name = "sp-application-crypto" version = "30.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "parity-scale-codec", "scale-info", "serde", "sp-core", "sp-io", - "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", ] [[package]] name = "sp-arithmetic" version = "23.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "integer-sqrt", "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", "static_assertions", ] @@ -4564,7 +4650,7 @@ dependencies = [ [[package]] name = "sp-core" version = "28.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "array-bytes", "bandersnatch_vrfs", @@ -4574,7 +4660,7 @@ dependencies = [ "bounded-collections", "bs58", "dyn-clonable", - "ed25519-zebra 3.1.0", + "ed25519-zebra", "futures", "hash-db", "hash256-std-hasher", @@ -4594,11 +4680,11 @@ dependencies = [ "secrecy", "serde", "sp-crypto-hashing 0.0.0", - "sp-debug-derive 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", - "sp-externalities 0.25.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", - "sp-runtime-interface 24.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", - "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", - "sp-storage 19.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-debug-derive 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", + "sp-externalities 0.25.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", + "sp-runtime-interface 24.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", + "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", + "sp-storage 19.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", "ss58-registry", "substrate-bip39", "thiserror", @@ -4610,7 +4696,7 @@ dependencies = [ [[package]] name = "sp-crypto-ec-utils" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk#4ffccac4fe4d2294dfa63b20155f9c6052c69574" +source = "git+https://github.com/paritytech/polkadot-sdk#826f16f31693c6080fc1c94f37fba61c240243fb" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -4630,7 +4716,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "blake2b_simd", "byteorder", @@ -4657,48 +4743,48 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "quote", "sp-crypto-hashing 0.0.0", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#4ffccac4fe4d2294dfa63b20155f9c6052c69574" +source = "git+https://github.com/paritytech/polkadot-sdk#826f16f31693c6080fc1c94f37fba61c240243fb" dependencies = [ "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "environmental", "parity-scale-codec", - "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", - "sp-storage 19.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", + "sp-storage 19.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", ] [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/paritytech/polkadot-sdk#4ffccac4fe4d2294dfa63b20155f9c6052c69574" +source = "git+https://github.com/paritytech/polkadot-sdk#826f16f31693c6080fc1c94f37fba61c240243fb" dependencies = [ "environmental", "parity-scale-codec", @@ -4708,32 +4794,32 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.7.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "serde_json", "sp-api", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", ] [[package]] name = "sp-inherents" version = "26.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", "thiserror", ] [[package]] name = "sp-io" version = "30.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "bytes", "ed25519-dalek", @@ -4744,12 +4830,12 @@ dependencies = [ "secp256k1", "sp-core", "sp-crypto-hashing 0.0.0", - "sp-externalities 0.25.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-externalities 0.25.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", "sp-keystore", - "sp-runtime-interface 24.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-runtime-interface 24.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", "sp-state-machine", - "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", - "sp-tracing 16.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", + "sp-tracing 16.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", "sp-trie", "tracing", "tracing-core", @@ -4758,30 +4844,30 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.34.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "parity-scale-codec", "parking_lot", "sp-core", - "sp-externalities 0.25.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-externalities 0.25.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", "thiserror", ] [[package]] name = "sp-metadata-ir" version = "0.6.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "frame-metadata 16.0.0", "parity-scale-codec", "scale-info", - "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", ] [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "backtrace", "lazy_static", @@ -4791,7 +4877,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "31.0.1" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "docify", "either", @@ -4808,32 +4894,32 @@ dependencies = [ "sp-arithmetic", "sp-core", "sp-io", - "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", "sp-weights", ] [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities 0.25.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", - "sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", - "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", - "sp-storage 19.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", - "sp-tracing 16.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", - "sp-wasm-interface 20.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-externalities 0.25.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", + "sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", + "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", + "sp-storage 19.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", + "sp-tracing 16.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", + "sp-wasm-interface 20.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", "static_assertions", ] [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#4ffccac4fe4d2294dfa63b20155f9c6052c69574" +source = "git+https://github.com/paritytech/polkadot-sdk#826f16f31693c6080fc1c94f37fba61c240243fb" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -4852,33 +4938,33 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "Inflector", "expander", "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#4ffccac4fe4d2294dfa63b20155f9c6052c69574" +source = "git+https://github.com/paritytech/polkadot-sdk#826f16f31693c6080fc1c94f37fba61c240243fb" dependencies = [ "Inflector", "expander", "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] name = "sp-staking" version = "26.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -4886,13 +4972,13 @@ dependencies = [ "serde", "sp-core", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", ] [[package]] name = "sp-state-machine" version = "0.35.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "hash-db", "log", @@ -4901,9 +4987,9 @@ dependencies = [ "rand", "smallvec", "sp-core", - "sp-externalities 0.25.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-externalities 0.25.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", "sp-panic-handler", - "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", "sp-trie", "thiserror", "tracing", @@ -4913,30 +4999,30 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#4ffccac4fe4d2294dfa63b20155f9c6052c69574" +source = "git+https://github.com/paritytech/polkadot-sdk#826f16f31693c6080fc1c94f37fba61c240243fb" [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "impl-serde", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", - "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-debug-derive 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", + "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", ] [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#4ffccac4fe4d2294dfa63b20155f9c6052c69574" +source = "git+https://github.com/paritytech/polkadot-sdk#826f16f31693c6080fc1c94f37fba61c240243fb" dependencies = [ "impl-serde", "parity-scale-codec", @@ -4948,10 +5034,10 @@ dependencies = [ [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "parity-scale-codec", - "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", "tracing", "tracing-core", "tracing-subscriber 0.2.25", @@ -4960,7 +5046,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#4ffccac4fe4d2294dfa63b20155f9c6052c69574" +source = "git+https://github.com/paritytech/polkadot-sdk#826f16f31693c6080fc1c94f37fba61c240243fb" dependencies = [ "parity-scale-codec", "tracing", @@ -4971,7 +5057,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "29.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "ahash 0.8.11", "hash-db", @@ -4984,8 +5070,8 @@ dependencies = [ "scale-info", "schnellru", "sp-core", - "sp-externalities 0.25.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", - "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-externalities 0.25.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", + "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", "thiserror", "tracing", "trie-db", @@ -4995,7 +5081,7 @@ dependencies = [ [[package]] name = "sp-version" version = "29.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "impl-serde", "parity-scale-codec", @@ -5004,7 +5090,7 @@ dependencies = [ "serde", "sp-crypto-hashing-proc-macro", "sp-runtime", - "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", "sp-version-proc-macro", "thiserror", ] @@ -5012,32 +5098,33 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "13.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "anyhow", "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", "wasmtime", ] [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#4ffccac4fe4d2294dfa63b20155f9c6052c69574" +source = "git+https://github.com/paritytech/polkadot-sdk#826f16f31693c6080fc1c94f37fba61c240243fb" dependencies = [ + "anyhow", "impl-trait-for-tuples", "log", "parity-scale-codec", @@ -5046,7 +5133,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "27.0.0" -source = "git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment#1fa0daead3fc95a7116e377467e1891576172169" +source = "git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10#f5587b380ee596f90482d402844c49aa140781d8" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -5054,8 +5141,8 @@ dependencies = [ "serde", "smallvec", "sp-arithmetic", - "sp-debug-derive 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", - "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?branch=toufeeq/fix-fee-payment)", + "sp-debug-derive 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", + "sp-std 14.0.0 (git+https://github.com/availproject/polkadot-sdk.git?tag=polkadot-1.7.1-patch-10)", ] [[package]] @@ -5143,6 +5230,7 @@ dependencies = [ "either", "frame-metadata 16.0.0", "futures", + "getrandom", "hex", "impl-serde", "instant", @@ -5175,6 +5263,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d703dca0905cc5272d7cc27a4ac5f37dcaae7671acc7fef0200057cc8c317786" dependencies = [ "frame-metadata 16.0.0", + "getrandom", "heck", "hex", "jsonrpsee 0.22.5", @@ -5184,7 +5273,7 @@ dependencies = [ "scale-info", "scale-typegen", "subxt-metadata", - "syn 2.0.69", + "syn 2.0.79", "thiserror", "tokio", ] @@ -5223,14 +5312,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d9406fbdb9548c110803cb8afa750f8b911d51eefdf95474b11319591d225d9" dependencies = [ "futures", + "futures-timer", "futures-util", + "getrandom", + "instant", + "js-sys", + "pin-project", + "send_wrapper 0.6.0", "serde", "serde_json", + "smoldot", "smoldot-light", "thiserror", "tokio", "tokio-stream", "tracing", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", ] [[package]] @@ -5245,7 +5344,7 @@ dependencies = [ "quote", "scale-typegen", "subxt-codegen", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -5269,6 +5368,7 @@ checksum = "f49888ae6ae90fe01b471193528eea5bd4ed52d8eecd2d13f4a2333b87388850" dependencies = [ "bip39", "cfg-if", + "getrandom", "hex", "hmac 0.12.1", "parity-scale-codec", @@ -5296,9 +5396,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.69" +version = "2.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "201fcda3845c23e8212cd466bfebf0bd20694490fc0356ae8e428e0824a915a6" +checksum = "89132cd0bf050864e1d38dc3bbc07a0eb8e7530af26344d3d2bbbef83499f590" dependencies = [ "proc-macro2", "quote", @@ -5313,9 +5413,9 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.12.14" +version = "0.12.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f" +checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "termcolor" @@ -5343,7 +5443,7 @@ checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533" dependencies = [ "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -5456,7 +5556,7 @@ checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a" dependencies = [ "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -5619,7 +5719,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -5790,6 +5890,12 @@ dependencies = [ "tinyvec", ] +[[package]] +name = "unicode-segmentation" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" + [[package]] name = "unicode-xid" version = "0.2.4" @@ -5852,7 +5958,7 @@ dependencies = [ "digest 0.10.7", "rand", "rand_chacha", - "rand_core 0.6.4", + "rand_core", "sha2 0.10.8", "sha3", "thiserror", @@ -5905,10 +6011,22 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", "wasm-bindgen-shared", ] +[[package]] +name = "wasm-bindgen-futures" +version = "0.4.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0" +dependencies = [ + "cfg-if", + "js-sys", + "wasm-bindgen", + "web-sys", +] + [[package]] name = "wasm-bindgen-macro" version = "0.2.92" @@ -5927,7 +6045,7 @@ checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -6120,6 +6238,16 @@ dependencies = [ "wasmparser", ] +[[package]] +name = "web-sys" +version = "0.3.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + [[package]] name = "webpki-roots" version = "0.26.3" @@ -6407,8 +6535,8 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" dependencies = [ - "curve25519-dalek 4.1.3", - "rand_core 0.6.4", + "curve25519-dalek", + "rand_core", "serde", "zeroize", ] @@ -6436,7 +6564,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] [[package]] @@ -6456,5 +6584,5 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.69", + "syn 2.0.79", ] diff --git a/avail-rust/Cargo.toml b/avail-rust/Cargo.toml index 3f1d9fd04..784565ba2 100644 --- a/avail-rust/Cargo.toml +++ b/avail-rust/Cargo.toml @@ -4,28 +4,41 @@ name = "avail-rust" edition = "2021" version = "0.1.0" - # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[dependencies] -serde = { version = "1.0.195", features = ["derive", ] } -serde_json = { version = "1.0.124" } -derive_more = "0.99.17" +[lib] +crate-type = ["cdylib", "rlib"] + +[target.'cfg(not(target_arch = "wasm32"))'.dependencies] +derive_more = { version = "1", features = ["full"] } +kate-recovery = { git = "https://github.com/availproject/avail-core", tag = "core-node-4", features = ["serde"] } subxt = { version = "0.37" } subxt-core = { version = "0.37" } subxt-signer = { version = "0.37" } +tokio = { version = "1.21.2" } + +[target.'cfg(target_arch = "wasm32")'.dependencies] +derive_more = { version = "1", default-features = false, features = ["from", "constructor"] } +kate-recovery = { git = "https://github.com/availproject/avail-core", default-features = false, tag = "core-node-4", features = ["serde"] } +subxt = { version = "0.37", default-features = false, features = ["web", "jsonrpsee"] } +subxt-core = { version = "0.37", default-features = false } +subxt-signer = { version = "0.37", default-features = false, features = ["web", "sr25519", "subxt"] } +tokio = { version = "1.21.2", default-features = false } +sp-io = { version = "30", default-features = false, features = [ "disable_panic_handler" ] } + +[dependencies] +serde = { version = "1.0.195", features = ["derive", ] } +serde_json = { version = "1.0.124" } codec = { package = "parity-scale-codec", version = "3", default-features = false, features = [ "derive", "full", "bit-vec", ] } scale-info = { version = "2.5.0", features = ["bit-vec"] } -avail-core = { git = "https://github.com/availproject/avail-core", tag = "core-node-3", features = ["serde", "runtime"] } +avail-core = { git = "https://github.com/availproject/avail-core", tag = "core-node-4", default-features = false, features = ["serde", "runtime"] } hex = { version = "0.4" } base58 = { version = "0.2.0" } -tokio = { version = "1.21.2" } sp-core = { git = "https://github.com/availproject/polkadot-sdk.git", tag = "polkadot-1.7.1-patch-10", default-features = false } -kate-recovery = { git = "https://github.com/availproject/avail-core", tag = "core-node-3", features = ["serde"] } bounded-collections = { version = "0.2.0", features = ["serde"] } [patch.crates-io]