From f2e4f18b3b7d995326d83302299b0f64a855f966 Mon Sep 17 00:00:00 2001 From: kostekIV <27210860+kostekIV@users.noreply.github.com> Date: Fri, 24 Feb 2023 08:15:33 +0100 Subject: [PATCH] A0-1906: bump substrate to 0.9.37 (#941) * change fork version to 0.9.34 * pallet contracts UnsafeUnstableInterface set to false * subxt code gen * temporarily remove fee calculation test * fix build * change fork version to aleph-0.9.34 * bump spec version to 52 * move comment up * change fork version to wip-0.9.35 * fix pruning arguments * fix weight changes * update jsonspree * fix compiler error * rm wip * lock * spec * aleph * lint * lint * cleanup * update * bump spec * set contracts-transcode version * locks * fix try-runtime * bump substrate * adjust runtime * fix node * update aleph-client * update adder toolchain * fix tests * dont panic * revert toolchain * nightly * skip adder * ... --------- Co-authored-by: maciejnems --- .github/workflows/check-excluded-packages.yml | 5 + Cargo.lock | 1724 +++++++++++++---- aleph-client/Cargo.lock | 271 +-- aleph-client/Cargo.toml | 6 +- aleph-client/src/aleph_zero.rs | 452 +++-- benches/payout-stakers/Cargo.lock | 279 +-- benches/payout-stakers/Cargo.toml | 4 +- bin/cliain/Cargo.lock | 380 ++-- bin/cliain/Cargo.toml | 4 +- bin/node/Cargo.toml | 72 +- bin/node/src/main.rs | 4 +- bin/node/src/service.rs | 16 +- bin/runtime/Cargo.toml | 78 +- bin/runtime/src/lib.rs | 11 +- contracts/rust-toolchain | 2 +- e2e-tests/Cargo.lock | 398 ++-- e2e-tests/Cargo.toml | 12 +- finality-aleph/Cargo.toml | 42 +- finality-aleph/src/data_io/chain_info.rs | 28 +- finality-aleph/src/data_io/data_provider.rs | 8 +- finality-aleph/src/network/gossip/service.rs | 12 +- finality-aleph/src/session_map.rs | 12 +- .../src/sync/substrate/chain_status.rs | 8 +- .../src/testing/client_chain_builder.rs | 4 +- flooder/Cargo.lock | 275 +-- flooder/Cargo.toml | 4 +- fork-off/Cargo.lock | 121 +- fork-off/Cargo.toml | 8 +- pallets/aleph/Cargo.toml | 18 +- pallets/elections/Cargo.toml | 24 +- pallets/support/Cargo.toml | 4 +- primitives/Cargo.toml | 12 +- 32 files changed, 2744 insertions(+), 1554 deletions(-) diff --git a/.github/workflows/check-excluded-packages.yml b/.github/workflows/check-excluded-packages.yml index 9eeb954a4e..3f5d408466 100644 --- a/.github/workflows/check-excluded-packages.yml +++ b/.github/workflows/check-excluded-packages.yml @@ -68,6 +68,11 @@ jobs: packages="${{ steps.format_output.outputs.packages }}" for p in ${packages[@]} do + # skip checking the adder for now + if [ $p = "contracts/adder" ] + then + continue + fi echo "Checking package $p..." pushd "$p" rustup component add clippy rustfmt diff --git a/Cargo.lock b/Cargo.lock index f81e6f5f8a..ddecda1ae8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -36,6 +36,15 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" +[[package]] +name = "aead" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fc95d1bdb8e6666b2b217308eeeb09f2d6728d104be3e31916cc74d15420331" +dependencies = [ + "generic-array 0.14.6", +] + [[package]] name = "aead" version = "0.4.3" @@ -43,6 +52,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b613b8e1e3cf911a086f53f03bf286f52fd7a7258e4fa606f0ef220d39d8877" dependencies = [ "generic-array 0.14.6", + "rand_core 0.6.4", +] + +[[package]] +name = "aes" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "884391ef1066acaa41e766ba8f596341b96e93ce34f9a43e7d24bf0a0eaf0561" +dependencies = [ + "aes-soft", + "aesni", + "cipher 0.2.5", ] [[package]] @@ -52,25 +73,59 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e8b47f52ea9bae42228d07ec09eb676433d7c4ed1ebdf0f1d1c29ed446f1ab8" dependencies = [ "cfg-if", - "cipher", + "cipher 0.3.0", "cpufeatures", "opaque-debug 0.3.0", ] +[[package]] +name = "aes-gcm" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5278b5fabbb9bd46e24aa69b2fdea62c99088e0a950a9be40e3e0101298f88da" +dependencies = [ + "aead 0.3.2", + "aes 0.6.0", + "cipher 0.2.5", + "ctr 0.6.0", + "ghash 0.3.1", + "subtle", +] + [[package]] name = "aes-gcm" version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df5f85a83a7d8b0442b6aa7b504b8212c1733da07b98aae43d4bc21b2cb3cdf6" dependencies = [ - "aead", - "aes", - "cipher", - "ctr", - "ghash", + "aead 0.4.3", + "aes 0.7.5", + "cipher 0.3.0", + "ctr 0.8.0", + "ghash 0.4.4", "subtle", ] +[[package]] +name = "aes-soft" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be14c7498ea50828a38d0e24a765ed2effe92a705885b57d029cd67d45744072" +dependencies = [ + "cipher 0.2.5", + "opaque-debug 0.3.0", +] + +[[package]] +name = "aesni" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea2e11f5e94c2f7d386164cc2aa1f97823fed6f259e486940a71c174dd01b0ce" +dependencies = [ + "cipher 0.2.5", + "opaque-debug 0.3.0", +] + [[package]] name = "aggregator" version = "0.2.1" @@ -246,7 +301,7 @@ dependencies = [ "hex", "hex-literal", "jsonrpsee", - "libp2p", + "libp2p 0.49.0", "log", "pallet-staking", "pallet-transaction-payment-rpc", @@ -376,6 +431,12 @@ dependencies = [ "num-traits", ] +[[package]] +name = "arc-swap" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bddcadddf5e9015d310179a59bb28c4d4b9920ad0f11e8e14dbadf654890c9a6" + [[package]] name = "array-bytes" version = "4.2.0" @@ -401,51 +462,78 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" [[package]] -name = "asn1_der" -version = "0.7.5" +name = "asn1-rs" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e22d1f4b888c298a027c99dc9048015fac177587de20fc30232a057dfbe24a21" +checksum = "30ff05a702273012438132f449575dbc804e27b2f3cbe3069aa237d26c98fa33" +dependencies = [ + "asn1-rs-derive 0.1.0", + "asn1-rs-impl", + "displaydoc", + "nom", + "num-traits", + "rusticata-macros", + "thiserror", + "time 0.3.19", +] [[package]] -name = "async-channel" -version = "1.8.0" +name = "asn1-rs" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf46fee83e5ccffc220104713af3292ff9bc7c64c7de289f66dae8e38d826833" +checksum = "cf6690c370453db30743b373a60ba498fc0d6d83b11f4abfd87a84a075db5dd4" dependencies = [ - "concurrent-queue", - "event-listener", - "futures-core", + "asn1-rs-derive 0.4.0", + "asn1-rs-impl", + "displaydoc", + "nom", + "num-traits", + "rusticata-macros", + "thiserror", + "time 0.3.19", ] [[package]] -name = "async-executor" -version = "1.5.0" +name = "asn1-rs-derive" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17adb73da160dfb475c183343c8cccd80721ea5a605d3eb57125f0a7b7a92d0b" +checksum = "db8b7511298d5b7784b40b092d9e9dcd3a627a5707e4b5e507931ab0d44eeebf" dependencies = [ - "async-lock", - "async-task", - "concurrent-queue", - "fastrand", - "futures-lite", - "slab", + "proc-macro2", + "quote", + "syn", + "synstructure", ] [[package]] -name = "async-global-executor" -version = "2.3.1" +name = "asn1-rs-derive" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1b6f5d7df27bd294849f8eec66ecfc63d11814df7a4f5d74168a2394467b776" +checksum = "726535892e8eae7e70657b4c8ea93d26b8553afb1ce617caee529ef96d7dee6c" dependencies = [ - "async-channel", - "async-executor", - "async-io", - "async-lock", - "blocking", - "futures-lite", - "once_cell", + "proc-macro2", + "quote", + "syn", + "synstructure", +] + +[[package]] +name = "asn1-rs-impl" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2777730b2039ac0f95f093556e61b6d26cebed5393ca6f152717777cec3a42ed" +dependencies = [ + "proc-macro2", + "quote", + "syn", ] +[[package]] +name = "asn1_der" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e22d1f4b888c298a027c99dc9048015fac177587de20fc30232a057dfbe24a21" + [[package]] name = "async-io" version = "1.12.0" @@ -476,12 +564,6 @@ dependencies = [ "futures-lite", ] -[[package]] -name = "async-task" -version = "4.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a40729d2133846d9ed0ea60a8b9541bccddab49cd30f0715a1da672fe9a2524" - [[package]] name = "async-trait" version = "0.1.64" @@ -592,7 +674,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "sp-api", "sp-beefy", @@ -702,7 +784,7 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" dependencies = [ - "block-padding", + "block-padding 0.1.5", "byte-tools", "byteorder", "generic-array 0.12.4", @@ -726,6 +808,16 @@ dependencies = [ "generic-array 0.14.6", ] +[[package]] +name = "block-modes" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57a0e8073e8baa88212fb5823574c02ebccb395136ba9a164ab89379ec6072f0" +dependencies = [ + "block-padding 0.2.1", + "cipher 0.2.5", +] + [[package]] name = "block-padding" version = "0.1.5" @@ -736,18 +828,10 @@ dependencies = [ ] [[package]] -name = "blocking" -version = "1.3.0" +name = "block-padding" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c67b173a56acffd6d2326fb7ab938ba0b00a71480e14902b2591c87bc5741e8" -dependencies = [ - "async-channel", - "async-lock", - "async-task", - "atomic-waker", - "fastrand", - "futures-lite", -] +checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" [[package]] name = "bs58" @@ -855,6 +939,17 @@ dependencies = [ "jobserver", ] +[[package]] +name = "ccm" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5aca1a8fbc20b50ac9673ff014abfb2b5f4085ee1a850d408f14a159c5853ac7" +dependencies = [ + "aead 0.3.2", + "cipher 0.2.5", + "subtle", +] + [[package]] name = "cexpr" version = "0.6.0" @@ -892,7 +987,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c80e5460aa66fe3b91d40bcbdab953a597b60053e34d684ac6903f863b680a6" dependencies = [ "cfg-if", - "cipher", + "cipher 0.3.0", "cpufeatures", "zeroize", ] @@ -903,9 +998,9 @@ version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a18446b09be63d457bbec447509e85f662f32952b035ce892290396bc0b0cff5" dependencies = [ - "aead", + "aead 0.4.3", "chacha20", - "cipher", + "cipher 0.3.0", "poly1305", "zeroize", ] @@ -920,7 +1015,7 @@ dependencies = [ "js-sys", "num-integer", "num-traits", - "time", + "time 0.1.45", "wasm-bindgen", "winapi", ] @@ -938,6 +1033,15 @@ dependencies = [ "unsigned-varint", ] +[[package]] +name = "cipher" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f8e7987cbd042a63249497f41aed09f8e65add917ea6566effbc56578d6801" +dependencies = [ + "generic-array 0.14.6", +] + [[package]] name = "cipher" version = "0.3.0" @@ -1084,6 +1188,12 @@ dependencies = [ "libc", ] +[[package]] +name = "cpuid-bool" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcb25d077389e53838a8158c8e99174c5a9d902dee4904320db714f3c653ffba" + [[package]] name = "cranelift-bforest" version = "0.88.2" @@ -1182,6 +1292,21 @@ dependencies = [ "wasmtime-types", ] +[[package]] +name = "crc" +version = "3.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86ec7a15cbe22e59248fc7eadb1907dab5ba09372595da4d73dd805ed4417dfe" +dependencies = [ + "crc-catalog", +] + +[[package]] +name = "crc-catalog" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9cace84e55f07e7301bae1c519df89cdad8cc3cd868413d3fdbdeca9ff3db484" + [[package]] name = "crc32fast" version = "1.3.2" @@ -1272,6 +1397,16 @@ dependencies = [ "subtle", ] +[[package]] +name = "crypto-mac" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bff07008ec701e8028e2ceb8f83f0e4274ee62bd2dbdc4fefff2e9a91824081a" +dependencies = [ + "generic-array 0.14.6", + "subtle", +] + [[package]] name = "crypto-mac" version = "0.11.1" @@ -1282,13 +1417,22 @@ dependencies = [ "subtle", ] +[[package]] +name = "ctr" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb4a30d54f7443bf3d6191dcd486aca19e67cb3c49fa7a06a319966346707e7f" +dependencies = [ + "cipher 0.2.5", +] + [[package]] name = "ctr" version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "049bb91fb4aaf0e3c7efa6cd5ef877dbbbd15b39dad06d9948de4ec8a75761ea" dependencies = [ - "cipher", + "cipher 0.3.0", ] [[package]] @@ -1375,6 +1519,41 @@ dependencies = [ "syn", ] +[[package]] +name = "darling" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0808e1bd8671fb44a113a14e13497557533369847788fa2ae912b6ebfce9fa8" +dependencies = [ + "darling_core", + "darling_macro", +] + +[[package]] +name = "darling_core" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "001d80444f28e193f30c2f293455da62dcf9a6b29918a4253152ae2b1de592cb" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn", +] + +[[package]] +name = "darling_macro" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b36230598a2d5de7ec1c6f51f72d8a99a9208daff41de2084d06e3fd3ea56685" +dependencies = [ + "darling_core", + "quote", + "syn", +] + [[package]] name = "data-encoding" version = "2.3.3" @@ -1408,9 +1587,38 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f1a467a65c5e759bce6e65eaf91cc29f466cdc57cb65777bd646872a8a1fd4de" dependencies = [ "const-oid", + "pem-rfc7468", "zeroize", ] +[[package]] +name = "der-parser" +version = "7.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe398ac75057914d7d07307bf67dc7f3f574a26783b4fc7805a20ffa9f506e82" +dependencies = [ + "asn1-rs 0.3.1", + "displaydoc", + "nom", + "num-bigint", + "num-traits", + "rusticata-macros", +] + +[[package]] +name = "der-parser" +version = "8.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42d4bc9b0db0a0df9ae64634ac5bdefb7afcb534e182275ca0beadbe486701c1" +dependencies = [ + "asn1-rs 0.5.1", + "displaydoc", + "nom", + "num-bigint", + "num-traits", + "rusticata-macros", +] + [[package]] name = "derivative" version = "2.2.0" @@ -1422,6 +1630,37 @@ dependencies = [ "syn", ] +[[package]] +name = "derive_builder" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d07adf7be193b71cc36b193d0f5fe60b918a3a9db4dad0449f57bcfd519704a3" +dependencies = [ + "derive_builder_macro", +] + +[[package]] +name = "derive_builder_core" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f91d4cfa921f1c05904dc3c57b4a32c38aed3340cce209f3a6fd1478babafc4" +dependencies = [ + "darling", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "derive_builder_macro" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f0314b72bed045f3a68671b3c86328386762c93f82d98c65c3cb5e5f573dd68" +dependencies = [ + "derive_builder_core", + "syn", +] + [[package]] name = "derive_more" version = "0.99.17" @@ -1512,13 +1751,14 @@ dependencies = [ ] [[package]] -name = "dns-parser" -version = "0.8.0" +name = "displaydoc" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4d33be9473d06f75f58220f71f7a9317aca647dc061dbd3c361b0bef505fbea" +checksum = "3bf95dc3f046b9da4f2d51833c0d3547d8564ef6910f5c1ed130306a75b92886" dependencies = [ - "byteorder", - "quick-error", + "proc-macro2", + "quote", + "syn", ] [[package]] @@ -1634,6 +1874,9 @@ dependencies = [ "ff", "generic-array 0.14.6", "group", + "hkdf", + "pem-rfc7468", + "pkcs8", "rand_core 0.6.4", "sec1", "subtle", @@ -1855,7 +2098,7 @@ dependencies = [ "substrate-prometheus-endpoint", "substrate-test-runtime", "substrate-test-runtime-client", - "tiny-bip39 1.0.0", + "tiny-bip39", "tokio", ] @@ -1922,7 +2165,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", ] @@ -1945,7 +2188,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support", "frame-system", @@ -1968,7 +2211,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -1979,7 +2222,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -1996,7 +2239,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support", "frame-system", @@ -2025,18 +2268,15 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ - "env_logger 0.9.3", "futures", "log", "parity-scale-codec", "serde", - "serde_json", "sp-core", "sp-io", "sp-runtime", - "sp-version", "substrate-rpc-client", "tokio", ] @@ -2044,7 +2284,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bitflags", "frame-metadata", @@ -2076,7 +2316,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "Inflector", "cfg-expr", @@ -2090,7 +2330,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2102,7 +2342,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro2", "quote", @@ -2112,7 +2352,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support", "log", @@ -2130,7 +2370,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "sp-api", @@ -2139,7 +2379,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support", "parity-scale-codec", @@ -2246,8 +2486,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2411eed028cdf8c8034eaf21f9915f956b6c3abec4d4c7949ee67f0721127bd" dependencies = [ "futures-io", - "rustls", - "webpki", + "rustls 0.20.8", + "webpki 0.22.0", ] [[package]] @@ -2321,10 +2561,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" dependencies = [ "cfg-if", - "js-sys", "libc", "wasi 0.9.0+wasi-snapshot-preview1", - "wasm-bindgen", ] [[package]] @@ -2338,6 +2576,16 @@ dependencies = [ "wasi 0.11.0+wasi-snapshot-preview1", ] +[[package]] +name = "ghash" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97304e4cd182c3846f7575ced3890c53012ce534ad9114046b0a9e00bb30a375" +dependencies = [ + "opaque-debug 0.3.0", + "polyval 0.4.5", +] + [[package]] name = "ghash" version = "0.4.4" @@ -2345,7 +2593,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1583cc1656d7839fd3732b80cf4f38850336cdb9b8ded1cd399ca62958de3c99" dependencies = [ "opaque-debug 0.3.0", - "polyval", + "polyval 0.5.3", ] [[package]] @@ -2480,6 +2728,15 @@ version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ebdb29d2ea9ed0083cd8cece49bbd968021bd99b0849edb4a9a7ee0fdf6a4e0" +[[package]] +name = "hkdf" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "791a029f6b9fc27657f6f188ec6e5e43f6911f6f878e0dc5501396e09809d437" +dependencies = [ + "hmac 0.12.1", +] + [[package]] name = "hmac" version = "0.8.1" @@ -2490,6 +2747,16 @@ dependencies = [ "digest 0.9.0", ] +[[package]] +name = "hmac" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1441c6b1e930e2817404b5046f1f989899143a12bf92de603b69f4e0aee1e15" +dependencies = [ + "crypto-mac 0.10.1", + "digest 0.9.0", +] + [[package]] name = "hmac" version = "0.11.0" @@ -2610,7 +2877,7 @@ dependencies = [ "http", "hyper", "log", - "rustls", + "rustls 0.20.8", "rustls-native-certs", "tokio", "tokio-rustls", @@ -2641,8 +2908,14 @@ dependencies = [ ] [[package]] -name = "idna" -version = "0.2.3" +name = "ident_case" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" + +[[package]] +name = "idna" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8" dependencies = [ @@ -2673,9 +2946,9 @@ dependencies = [ [[package]] name = "if-watch" -version = "2.0.0" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "065c008e570a43c00de6aed9714035e5ea6a498c255323db9091722af6ee67dd" +checksum = "ba7abdbb86e485125dad06c2691e1e393bf3b08c7b743b43aa162a00fd39062e" dependencies = [ "async-io", "core-foundation", @@ -2686,6 +2959,7 @@ dependencies = [ "log", "rtnetlink", "system-configuration", + "tokio", "windows", ] @@ -2753,6 +3027,25 @@ dependencies = [ "num-traits", ] +[[package]] +name = "interceptor" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e8a11ae2da61704edada656798b61c94b35ecac2c58eb955156987d5e6be90b" +dependencies = [ + "async-trait", + "bytes", + "log", + "rand 0.8.5", + "rtcp", + "rtp", + "thiserror", + "tokio", + "waitgroup", + "webrtc-srtp", + "webrtc-util", +] + [[package]] name = "io-lifetimes" version = "0.7.5" @@ -3068,7 +3361,27 @@ dependencies = [ "getrandom 0.2.8", "instant", "lazy_static", - "libp2p-core", + "libp2p-core 0.37.0", + "libp2p-swarm 0.40.1", + "libp2p-swarm-derive 0.30.1", + "multiaddr 0.14.0", + "parking_lot 0.12.1", + "pin-project", + "smallvec", +] + +[[package]] +name = "libp2p" +version = "0.50.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e0a0d2f693675f49ded13c5d510c48b78069e23cbd9108d7ccd59f6dc568819" +dependencies = [ + "bytes", + "futures", + "futures-timer", + "getrandom 0.2.8", + "instant", + "libp2p-core 0.38.0", "libp2p-dns", "libp2p-identify", "libp2p-kad", @@ -3077,14 +3390,15 @@ dependencies = [ "libp2p-mplex", "libp2p-noise", "libp2p-ping", + "libp2p-quic", "libp2p-request-response", - "libp2p-swarm", - "libp2p-swarm-derive", + "libp2p-swarm 0.41.1", "libp2p-tcp", "libp2p-wasm-ext", + "libp2p-webrtc", "libp2p-websocket", "libp2p-yamux", - "multiaddr", + "multiaddr 0.16.0", "parking_lot 0.12.1", "pin-project", "smallvec", @@ -3106,15 +3420,49 @@ dependencies = [ "instant", "lazy_static", "log", - "multiaddr", + "multiaddr 0.14.0", + "multihash", + "multistream-select", + "parking_lot 0.12.1", + "pin-project", + "prost", + "prost-build", + "rand 0.8.5", + "rw-stream-sink", + "sha2 0.10.6", + "smallvec", + "thiserror", + "unsigned-varint", + "void", + "zeroize", +] + +[[package]] +name = "libp2p-core" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6a8fcd392ff67af6cc3f03b1426c41f7f26b6b9aff2dc632c1c56dd649e571f" +dependencies = [ + "asn1_der", + "bs58", + "ed25519-dalek", + "either", + "fnv", + "futures", + "futures-timer", + "instant", + "log", + "multiaddr 0.16.0", "multihash", "multistream-select", + "once_cell", "parking_lot 0.12.1", "pin-project", "prost", "prost-build", "rand 0.8.5", "rw-stream-sink", + "sec1", "sha2 0.10.6", "smallvec", "thiserror", @@ -3125,12 +3473,12 @@ dependencies = [ [[package]] name = "libp2p-dns" -version = "0.37.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2322c9fb40d99101def6a01612ee30500c89abbbecb6297b3cd252903a4c1720" +checksum = "8e42a271c1b49f789b92f7fc87749fa79ce5c7bdc88cbdfacb818a4bca47fec5" dependencies = [ "futures", - "libp2p-core", + "libp2p-core 0.38.0", "log", "parking_lot 0.12.1", "smallvec", @@ -3139,15 +3487,15 @@ dependencies = [ [[package]] name = "libp2p-identify" -version = "0.40.0" +version = "0.41.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcf9a121f699e8719bda2e6e9e9b6ddafc6cff4602471d6481c1067930ccb29b" +checksum = "c052d0026f4817b44869bfb6810f4e1112f43aec8553f2cb38881c524b563abf" dependencies = [ "asynchronous-codec", "futures", "futures-timer", - "libp2p-core", - "libp2p-swarm", + "libp2p-core 0.38.0", + "libp2p-swarm 0.41.1", "log", "lru 0.8.1", "prost", @@ -3160,9 +3508,9 @@ dependencies = [ [[package]] name = "libp2p-kad" -version = "0.41.0" +version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6721c200e2021f6c3fab8b6cf0272ead8912d871610ee194ebd628cecf428f22" +checksum = "2766dcd2be8c87d5e1f35487deb22d765f49c6ae1251b3633efe3b25698bd3d2" dependencies = [ "arrayvec 0.7.2", "asynchronous-codec", @@ -3172,8 +3520,8 @@ dependencies = [ "futures", "futures-timer", "instant", - "libp2p-core", - "libp2p-swarm", + "libp2p-core 0.38.0", + "libp2p-swarm 0.41.1", "log", "prost", "prost-build", @@ -3188,48 +3536,48 @@ dependencies = [ [[package]] name = "libp2p-mdns" -version = "0.41.0" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "761704e727f7d68d58d7bc2231eafae5fc1b9814de24290f126df09d4bd37a15" +checksum = "04f378264aade9872d6ccd315c0accc18be3a35d15fc1b9c36e5b6f983b62b5b" dependencies = [ "data-encoding", - "dns-parser", "futures", "if-watch", - "libp2p-core", - "libp2p-swarm", + "libp2p-core 0.38.0", + "libp2p-swarm 0.41.1", "log", "rand 0.8.5", "smallvec", "socket2", "tokio", + "trust-dns-proto", "void", ] [[package]] name = "libp2p-metrics" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ee31b08e78b7b8bfd1c4204a9dd8a87b4fcdf6dafc57eb51701c1c264a81cb9" +checksum = "5ad8a64f29da86005c86a4d2728b8a0719e9b192f4092b609fd8790acb9dec55" dependencies = [ - "libp2p-core", + "libp2p-core 0.38.0", "libp2p-identify", "libp2p-kad", "libp2p-ping", - "libp2p-swarm", + "libp2p-swarm 0.41.1", "prometheus-client", ] [[package]] name = "libp2p-mplex" -version = "0.37.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "692664acfd98652de739a8acbb0a0d670f1d67190a49be6b4395e22c37337d89" +checksum = "03805b44107aa013e7cbbfa5627b31c36cbedfdfb00603c0311998882bc4bace" dependencies = [ "asynchronous-codec", "bytes", "futures", - "libp2p-core", + "libp2p-core 0.38.0", "log", "nohash-hasher", "parking_lot 0.12.1", @@ -3240,54 +3588,76 @@ dependencies = [ [[package]] name = "libp2p-noise" -version = "0.40.0" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "048155686bd81fe6cb5efdef0c6290f25ad32a0a42e8f4f72625cf6a505a206f" +checksum = "a978cb57efe82e892ec6f348a536bfbd9fee677adbe5689d7a93ad3a9bffbf2e" dependencies = [ "bytes", "curve25519-dalek 3.2.0", "futures", - "lazy_static", - "libp2p-core", + "libp2p-core 0.38.0", "log", + "once_cell", "prost", "prost-build", "rand 0.8.5", "sha2 0.10.6", "snow", "static_assertions", - "x25519-dalek", + "thiserror", + "x25519-dalek 1.1.1", "zeroize", ] [[package]] name = "libp2p-ping" -version = "0.40.1" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7228b9318d34689521349a86eb39a3c3a802c9efc99a0568062ffb80913e3f91" +checksum = "929fcace45a112536e22b3dcfd4db538723ef9c3cb79f672b98be2cc8e25f37f" dependencies = [ "futures", "futures-timer", "instant", - "libp2p-core", - "libp2p-swarm", + "libp2p-core 0.38.0", + "libp2p-swarm 0.41.1", "log", "rand 0.8.5", "void", ] +[[package]] +name = "libp2p-quic" +version = "0.7.0-alpha" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01e7c867e95c8130667b24409d236d37598270e6da69b3baf54213ba31ffca59" +dependencies = [ + "bytes", + "futures", + "futures-timer", + "if-watch", + "libp2p-core 0.38.0", + "libp2p-tls", + "log", + "parking_lot 0.12.1", + "quinn-proto", + "rand 0.8.5", + "rustls 0.20.8", + "thiserror", + "tokio", +] + [[package]] name = "libp2p-request-response" -version = "0.22.1" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8827af16a017b65311a410bb626205a9ad92ec0473967618425039fa5231adc1" +checksum = "3236168796727bfcf4927f766393415361e2c644b08bedb6a6b13d957c9a4884" dependencies = [ "async-trait", "bytes", "futures", "instant", - "libp2p-core", - "libp2p-swarm", + "libp2p-core 0.38.0", + "libp2p-swarm 0.41.1", "log", "rand 0.8.5", "smallvec", @@ -3305,12 +3675,34 @@ dependencies = [ "futures", "futures-timer", "instant", - "libp2p-core", + "libp2p-core 0.37.0", + "log", + "pin-project", + "rand 0.8.5", + "smallvec", + "thiserror", + "void", +] + +[[package]] +name = "libp2p-swarm" +version = "0.41.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2a35472fe3276b3855c00f1c032ea8413615e030256429ad5349cdf67c6e1a0" +dependencies = [ + "either", + "fnv", + "futures", + "futures-timer", + "instant", + "libp2p-core 0.38.0", + "libp2p-swarm-derive 0.31.0", "log", "pin-project", "rand 0.8.5", "smallvec", "thiserror", + "tokio", "void", ] @@ -3325,46 +3717,106 @@ dependencies = [ "syn", ] +[[package]] +name = "libp2p-swarm-derive" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d527d5827582abd44a6d80c07ff8b50b4ee238a8979e05998474179e79dc400" +dependencies = [ + "heck", + "quote", + "syn", +] + [[package]] name = "libp2p-tcp" -version = "0.37.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9839d96761491c6d3e238e70554b856956fca0ab60feb9de2cd08eed4473fa92" +checksum = "b4b257baf6df8f2df39678b86c578961d48cc8b68642a12f0f763f56c8e5858d" dependencies = [ "futures", "futures-timer", "if-watch", "libc", - "libp2p-core", + "libp2p-core 0.38.0", "log", "socket2", "tokio", ] +[[package]] +name = "libp2p-tls" +version = "0.1.0-alpha" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7905ce0d040576634e8a3229a7587cc8beab83f79db6023800f1792895defa8" +dependencies = [ + "futures", + "futures-rustls", + "libp2p-core 0.38.0", + "rcgen 0.10.0", + "ring", + "rustls 0.20.8", + "thiserror", + "webpki 0.22.0", + "x509-parser 0.14.0", + "yasna", +] + [[package]] name = "libp2p-wasm-ext" -version = "0.37.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a17b5b8e7a73e379e47b1b77f8a82c4721e97eca01abcd18e9cd91a23ca6ce97" +checksum = "1bb1a35299860e0d4b3c02a3e74e3b293ad35ae0cee8a056363b0c862d082069" dependencies = [ "futures", "js-sys", - "libp2p-core", + "libp2p-core 0.38.0", "parity-send-wrapper", "wasm-bindgen", "wasm-bindgen-futures", ] +[[package]] +name = "libp2p-webrtc" +version = "0.4.0-alpha" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdb6cd86dd68cba72308ea05de1cebf3ba0ae6e187c40548167955d4e3970f6a" +dependencies = [ + "async-trait", + "asynchronous-codec", + "bytes", + "futures", + "futures-timer", + "hex", + "if-watch", + "libp2p-core 0.38.0", + "libp2p-noise", + "log", + "multihash", + "prost", + "prost-build", + "prost-codec", + "rand 0.8.5", + "rcgen 0.9.3", + "serde", + "stun", + "thiserror", + "tinytemplate", + "tokio", + "tokio-util", + "webrtc", +] + [[package]] name = "libp2p-websocket" -version = "0.39.0" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3758ae6f89b2531a24b6d9f5776bda6a626b60a57600d7185d43dfa75ca5ecc4" +checksum = "1d705506030d5c0aaf2882437c70dab437605f21c5f9811978f694e6917a3b54" dependencies = [ "either", "futures", "futures-rustls", - "libp2p-core", + "libp2p-core 0.38.0", "log", "parking_lot 0.12.1", "quicksink", @@ -3376,12 +3828,12 @@ dependencies = [ [[package]] name = "libp2p-yamux" -version = "0.41.1" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d6874d66543c4f7e26e3b8ca9a6bead351563a13ab4fafd43c7927f7c0d6c12" +checksum = "4f63594a0aa818642d9d4915c791945053877253f08a3626f13416b5cd928a29" dependencies = [ "futures", - "libp2p-core", + "libp2p-core 0.38.0", "log", "parking_lot 0.12.1", "thiserror", @@ -3613,6 +4065,15 @@ dependencies = [ "rawpointer", ] +[[package]] +name = "md-5" +version = "0.10.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6365506850d44bff6e2fbcb5176cf63650e48bd45ef2fe2665ae1570e0f4b9ca" +dependencies = [ + "digest 0.10.6", +] + [[package]] name = "memchr" version = "2.5.0" @@ -3755,6 +4216,24 @@ dependencies = [ "url", ] +[[package]] +name = "multiaddr" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4aebdb21e90f81d13ed01dc84123320838e53963c2ca94b60b305d3fa64f31e" +dependencies = [ + "arrayref", + "byteorder", + "data-encoding", + "multibase", + "multihash", + "percent-encoding", + "serde", + "static_assertions", + "unsigned-varint", + "url", +] + [[package]] name = "multibase" version = "0.9.1" @@ -3914,11 +4393,11 @@ version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "260e21fbb6f3d253a14df90eb0000a6066780a15dd901a7519ce02d77a94985b" dependencies = [ - "async-io", "bytes", "futures", "libc", "log", + "tokio", ] [[package]] @@ -3930,6 +4409,7 @@ dependencies = [ "bitflags", "cfg-if", "libc", + "memoffset 0.6.5", ] [[package]] @@ -4047,6 +4527,24 @@ dependencies = [ "memchr", ] +[[package]] +name = "oid-registry" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38e20717fa0541f39bd146692035c37bedfa532b3e5071b35761082407546b2a" +dependencies = [ + "asn1-rs 0.3.1", +] + +[[package]] +name = "oid-registry" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bedf36ffb6ba96c2eb7144ef6270557b52e54b20c0a8e1eb2ff99a6c6959bff" +dependencies = [ + "asn1-rs 0.5.1", +] + [[package]] name = "once_cell" version = "1.17.1" @@ -4077,6 +4575,28 @@ version = "6.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee" +[[package]] +name = "p256" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51f44edd08f51e2ade572f141051021c5af22677e42b7dd28a88155151c33594" +dependencies = [ + "ecdsa", + "elliptic-curve", + "sha2 0.10.6", +] + +[[package]] +name = "p384" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfc8c5bf642dde52bb9e87c0ecd8ca5a76faac2eeed98dedb7c717997e1080aa" +dependencies = [ + "ecdsa", + "elliptic-curve", + "sha2 0.10.6", +] + [[package]] name = "packed_simd_2" version = "0.3.8" @@ -4110,7 +4630,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support", "frame-system", @@ -4126,7 +4646,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support", "frame-system", @@ -4141,7 +4661,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-benchmarking", "frame-support", @@ -4165,7 +4685,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-benchmarking", "frame-support", @@ -4180,7 +4700,7 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bitflags", "frame-benchmarking", @@ -4208,7 +4728,7 @@ dependencies = [ [[package]] name = "pallet-contracts-primitives" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bitflags", "parity-scale-codec", @@ -4220,7 +4740,7 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro2", "quote", @@ -4252,7 +4772,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4268,7 +4788,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-benchmarking", "frame-support", @@ -4284,7 +4804,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support", "frame-system", @@ -4301,7 +4821,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "sp-api", @@ -4311,7 +4831,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support", "frame-system", @@ -4325,7 +4845,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support", "frame-system", @@ -4341,7 +4861,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support", "frame-system", @@ -4362,7 +4882,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4384,7 +4904,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support", "frame-system", @@ -4398,7 +4918,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-benchmarking", "frame-support", @@ -4416,7 +4936,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support", "frame-system", @@ -4432,7 +4952,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -4448,7 +4968,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -4460,7 +4980,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-benchmarking", "frame-support", @@ -4477,7 +4997,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-benchmarking", "frame-support", @@ -4493,7 +5013,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-benchmarking", "frame-support", @@ -4631,15 +5151,6 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d01a5bd0424d00070b0098dd17ebca6f961a959dead1dbcbbbc1d1cd8d3deeba" -[[package]] -name = "pbkdf2" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "216eaa586a190f0a738f2f918511eecfa90f13295abec0e457cdebcceda80cbd" -dependencies = [ - "crypto-mac 0.8.0", -] - [[package]] name = "pbkdf2" version = "0.8.0" @@ -4664,6 +5175,24 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" +[[package]] +name = "pem" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8835c273a76a90455d7344889b0964598e3316e2a79ede8e36f16bdcf2228b8" +dependencies = [ + "base64 0.13.1", +] + +[[package]] +name = "pem-rfc7468" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24d159833a9105500e0398934e205e0773f0b27529557134ecfc51c27646adac" +dependencies = [ + "base64ct", +] + [[package]] name = "percent-encoding" version = "2.2.0" @@ -4771,6 +5300,17 @@ dependencies = [ "universal-hash", ] +[[package]] +name = "polyval" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eebcc4aa140b9abd2bc40d9c3f7ccec842679cd79045ac3a7ac698c1a064b7cd" +dependencies = [ + "cpuid-bool", + "opaque-debug 0.3.0", + "universal-hash", +] + [[package]] name = "polyval" version = "0.5.3" @@ -4971,9 +5511,9 @@ dependencies = [ [[package]] name = "prost-codec" -version = "0.2.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "011ae9ff8359df7915f97302d591cdd9e0e27fbd5a4ddc5bd13b71079bb20987" +checksum = "0dc34979ff898b6e141106178981ce2596c387ea6e62533facfc61a37fc879c0" dependencies = [ "asynchronous-codec", "bytes", @@ -5032,12 +5572,30 @@ dependencies = [ ] [[package]] -name = "quote" -version = "1.0.23" +name = "quinn-proto" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b" +checksum = "72ef4ced82a24bb281af338b9e8f94429b6eca01b4e66d899f40031f074e74c9" dependencies = [ - "proc-macro2", + "bytes", + "rand 0.8.5", + "ring", + "rustc-hash", + "rustls 0.20.8", + "slab", + "thiserror", + "tinyvec", + "tracing", + "webpki 0.22.0", +] + +[[package]] +name = "quote" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b" +dependencies = [ + "proc-macro2", ] [[package]] @@ -5057,7 +5615,6 @@ dependencies = [ "rand_chacha 0.2.2", "rand_core 0.5.1", "rand_hc", - "rand_pcg", ] [[package]] @@ -5130,11 +5687,11 @@ dependencies = [ [[package]] name = "rand_pcg" -version = "0.2.1" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429" +checksum = "59cad018caf63deb318e5a4586d99a24424a364f40f1e5778c29aca23f4fc73e" dependencies = [ - "rand_core 0.5.1", + "rand_core 0.6.4", ] [[package]] @@ -5165,6 +5722,31 @@ dependencies = [ "num_cpus", ] +[[package]] +name = "rcgen" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6413f3de1edee53342e6138e75b56d32e7bc6e332b3bd62d497b1929d4cfbcdd" +dependencies = [ + "pem", + "ring", + "time 0.3.19", + "x509-parser 0.13.2", + "yasna", +] + +[[package]] +name = "rcgen" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b" +dependencies = [ + "pem", + "ring", + "time 0.3.19", + "yasna", +] + [[package]] name = "redox_syscall" version = "0.2.16" @@ -5309,19 +5891,30 @@ dependencies = [ "winapi", ] +[[package]] +name = "rtcp" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1919efd6d4a6a85d13388f9487549bb8e359f17198cc03ffd72f79b553873691" +dependencies = [ + "bytes", + "thiserror", + "webrtc-util", +] + [[package]] name = "rtnetlink" version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "322c53fd76a18698f1c27381d58091de3a043d356aa5bd0d510608b565f469a0" dependencies = [ - "async-global-executor", "futures", "log", "netlink-packet-route", "netlink-proto", "nix", "thiserror", + "tokio", ] [[package]] @@ -5334,6 +5927,20 @@ dependencies = [ "winapi", ] +[[package]] +name = "rtp" +version = "0.6.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2a095411ff00eed7b12e4c6a118ba984d113e1079582570d56a5ee723f11f80" +dependencies = [ + "async-trait", + "bytes", + "rand 0.8.5", + "serde", + "thiserror", + "webrtc-util", +] + [[package]] name = "rustc-demangle" version = "0.1.21" @@ -5370,6 +5977,15 @@ dependencies = [ "semver 1.0.16", ] +[[package]] +name = "rusticata-macros" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "faf0c4a6ece9950b9abdb62b1cfcf2a68b3b67a10ba445b3bb85be2a293d0632" +dependencies = [ + "nom", +] + [[package]] name = "rustix" version = "0.35.13" @@ -5398,6 +6014,19 @@ dependencies = [ "windows-sys 0.45.0", ] +[[package]] +name = "rustls" +version = "0.19.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" +dependencies = [ + "base64 0.13.1", + "log", + "ring", + "sct 0.6.1", + "webpki 0.21.4", +] + [[package]] name = "rustls" version = "0.20.8" @@ -5406,8 +6035,8 @@ checksum = "fff78fc74d175294f4e83b28343315ffcfb114b156f0185e9741cb5570f50e2f" dependencies = [ "log", "ring", - "sct", - "webpki", + "sct 0.7.0", + "webpki 0.22.0", ] [[package]] @@ -5475,7 +6104,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "log", "sp-core", @@ -5486,7 +6115,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "futures", "futures-timer", @@ -5509,7 +6138,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -5525,11 +6154,9 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ - "impl-trait-for-tuples", "memmap2", - "parity-scale-codec", "sc-chain-spec-derive", "sc-network-common", "sc-telemetry", @@ -5542,7 +6169,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5553,18 +6180,18 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "array-bytes", "chrono", "clap", "fdlimit", "futures", - "libp2p", + "libp2p 0.50.0", "log", "names", "parity-scale-codec", - "rand 0.7.3", + "rand 0.8.5", "regex", "rpassword", "sc-client-api", @@ -5586,18 +6213,17 @@ dependencies = [ "sp-runtime", "sp-version", "thiserror", - "tiny-bip39 0.8.2", + "tiny-bip39", "tokio", ] [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "fnv", "futures", - "hash-db", "log", "parity-scale-codec", "parking_lot 0.12.1", @@ -5614,14 +6240,13 @@ dependencies = [ "sp-runtime", "sp-state-machine", "sp-storage", - "sp-trie", "substrate-prometheus-endpoint", ] [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "hash-db", "kvdb", @@ -5646,12 +6271,12 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "futures", "futures-timer", - "libp2p", + "libp2p 0.50.0", "log", "mockall", "parking_lot 0.12.1", @@ -5671,7 +6296,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "futures", @@ -5700,7 +6325,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "futures", @@ -5718,13 +6343,12 @@ dependencies = [ "sp-inherents", "sp-runtime", "sp-state-machine", - "thiserror", ] [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "lru 0.8.1", "parity-scale-codec", @@ -5748,7 +6372,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -5761,7 +6385,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "log", "sc-allocator", @@ -5774,7 +6398,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "cfg-if", "libc", @@ -5791,7 +6415,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "ansi_term", "futures", @@ -5799,7 +6423,6 @@ dependencies = [ "log", "sc-client-api", "sc-network-common", - "sc-transaction-pool-api", "sp-blockchain", "sp-runtime", ] @@ -5807,7 +6430,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "array-bytes", "async-trait", @@ -5822,30 +6445,25 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "array-bytes", "async-trait", "asynchronous-codec", - "bitflags", + "backtrace", "bytes", - "cid", "either", "fnv", - "fork-tree", "futures", "futures-timer", "ip_network", - "libp2p", - "linked-hash-map", - "linked_hash_set", + "libp2p 0.50.0", "log", "lru 0.8.1", "parity-scale-codec", "parking_lot 0.12.1", "pin-project", - "prost", - "rand 0.7.3", + "rand 0.8.5", "sc-block-builder", "sc-client-api", "sc-consensus", @@ -5869,11 +6487,11 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "cid", "futures", - "libp2p", + "libp2p 0.50.0", "log", "prost", "prost-build", @@ -5883,20 +6501,19 @@ dependencies = [ "sp-runtime", "thiserror", "unsigned-varint", - "void", ] [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "bitflags", "bytes", "futures", "futures-timer", - "libp2p", + "libp2p 0.50.0", "linked_hash_set", "parity-scale-codec", "prost-build", @@ -5915,11 +6532,11 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "array-bytes", "futures", - "libp2p", + "libp2p 0.50.0", "log", "parity-scale-codec", "prost", @@ -5936,13 +6553,13 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "array-bytes", "async-trait", "fork-tree", "futures", - "libp2p", + "libp2p 0.50.0", "log", "lru 0.8.1", "mockall", @@ -5968,17 +6585,17 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "array-bytes", "futures", - "hex", - "libp2p", + "libp2p 0.50.0", "log", "parity-scale-codec", "pin-project", "sc-network-common", "sc-peerset", + "sc-utils", "sp-consensus", "sp-runtime", "substrate-prometheus-endpoint", @@ -5987,7 +6604,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "array-bytes", "bytes", @@ -5996,12 +6613,12 @@ dependencies = [ "futures-timer", "hyper", "hyper-rustls", - "libp2p", + "libp2p 0.50.0", "num_cpus", "once_cell", "parity-scale-codec", "parking_lot 0.12.1", - "rand 0.7.3", + "rand 0.8.5", "sc-client-api", "sc-network-common", "sc-peerset", @@ -6017,10 +6634,10 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "futures", - "libp2p", + "libp2p 0.50.0", "log", "sc-utils", "serde_json", @@ -6030,7 +6647,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -6039,10 +6656,9 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "futures", - "hash-db", "jsonrpsee", "log", "parity-scale-codec", @@ -6069,13 +6685,10 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ - "futures", "jsonrpsee", - "log", "parity-scale-codec", - "parking_lot 0.12.1", "sc-chain-spec", "sc-transaction-pool-api", "scale-info", @@ -6084,7 +6697,6 @@ dependencies = [ "sp-core", "sp-rpc", "sp-runtime", - "sp-tracing", "sp-version", "thiserror", ] @@ -6092,9 +6704,8 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ - "futures", "http", "jsonrpsee", "log", @@ -6108,39 +6719,45 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ + "array-bytes", "futures", + "futures-util", "hex", "jsonrpsee", + "log", "parity-scale-codec", + "parking_lot 0.12.1", "sc-chain-spec", + "sc-client-api", "sc-transaction-pool-api", "serde", "sp-api", "sp-blockchain", "sp-core", "sp-runtime", + "sp-version", "thiserror", + "tokio-stream", ] [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "directories", "exit-future", "futures", "futures-timer", - "hash-db", "jsonrpsee", "log", "parity-scale-codec", "parking_lot 0.12.1", "pin-project", - "rand 0.7.3", + "rand 0.8.5", "sc-block-builder", "sc-chain-spec", "sc-client-api", @@ -6168,19 +6785,15 @@ dependencies = [ "serde", "serde_json", "sp-api", - "sp-application-crypto", - "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-core", "sp-externalities", - "sp-inherents", "sp-keystore", "sp-runtime", "sp-session", "sp-state-machine", "sp-storage", - "sp-tracing", "sp-transaction-pool", "sp-transaction-storage-proof", "sp-trie", @@ -6197,24 +6810,23 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sc-client-api", "sp-core", ] [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "futures", "libc", "log", - "rand 0.7.3", + "rand 0.8.5", "rand_pcg", "regex", "sc-telemetry", @@ -6228,15 +6840,16 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "chrono", "futures", - "libp2p", + "libp2p 0.50.0", "log", "parking_lot 0.12.1", "pin-project", - "rand 0.7.3", + "rand 0.8.5", + "sc-utils", "serde", "serde_json", "thiserror", @@ -6246,7 +6859,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "ansi_term", "atty", @@ -6277,7 +6890,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -6288,7 +6901,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "futures", @@ -6314,7 +6927,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "futures", @@ -6328,8 +6941,9 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ + "backtrace", "futures", "futures-timer", "lazy_static", @@ -6403,6 +7017,16 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ddccb15bcce173023b3fedd9436f882a0739b8dfb45e4f6b6002bee5929f61b2" +[[package]] +name = "sct" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce" +dependencies = [ + "ring", + "untrusted", +] + [[package]] name = "sct" version = "0.7.0" @@ -6413,6 +7037,18 @@ dependencies = [ "untrusted", ] +[[package]] +name = "sdp" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d22a5ef407871893fd72b4562ee15e4742269b173959db4b8df6f538c414e13" +dependencies = [ + "rand 0.8.5", + "substring", + "thiserror", + "url", +] + [[package]] name = "sec1" version = "0.3.0" @@ -6679,7 +7315,7 @@ version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "12ba5f4d4ff12bdb6a169ed51b7c48c0e0ac4b0b4b31012b2571e97d78d3201d" dependencies = [ - "aes-gcm", + "aes-gcm 0.9.4", "blake2", "chacha20poly1305", "curve25519-dalek 4.0.0-rc.0", @@ -6720,7 +7356,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "hash-db", "log", @@ -6738,7 +7374,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "blake2", "proc-macro-crate", @@ -6750,7 +7386,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "scale-info", @@ -6763,14 +7399,13 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "integer-sqrt", "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-debug-derive", "sp-std", "static_assertions", ] @@ -6778,7 +7413,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "parity-scale-codec", @@ -6790,7 +7425,7 @@ dependencies = [ [[package]] name = "sp-beefy" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "scale-info", @@ -6807,7 +7442,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "sp-api", @@ -6819,7 +7454,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "futures", "log", @@ -6837,11 +7472,10 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "futures", - "futures-timer", "log", "parity-scale-codec", "sp-core", @@ -6856,7 +7490,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "parity-scale-codec", @@ -6874,7 +7508,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "merlin", @@ -6897,13 +7531,11 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-runtime", "sp-std", "sp-timestamp", ] @@ -6911,7 +7543,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "scale-info", @@ -6924,13 +7556,12 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "array-bytes", "base58", "bitflags", "blake2", - "byteorder", "dyn-clonable", "ed25519-zebra", "futures", @@ -6941,11 +7572,10 @@ dependencies = [ "libsecp256k1", "log", "merlin", - "num-traits", "parity-scale-codec", "parking_lot 0.12.1", "primitive-types", - "rand 0.7.3", + "rand 0.8.5", "regex", "scale-info", "schnorrkel", @@ -6961,15 +7591,14 @@ dependencies = [ "ss58-registry", "substrate-bip39", "thiserror", - "tiny-bip39 0.8.2", - "wasmi 0.13.2", + "tiny-bip39", "zeroize", ] [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "blake2", "byteorder", @@ -6983,7 +7612,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro2", "quote", @@ -6994,7 +7623,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -7003,7 +7632,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro2", "quote", @@ -7013,7 +7642,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "environmental", "parity-scale-codec", @@ -7024,7 +7653,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "finality-grandpa", "log", @@ -7042,7 +7671,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -7056,16 +7685,15 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bytes", + "ed25519", "ed25519-dalek", "futures", - "hash-db", "libsecp256k1", "log", "parity-scale-codec", - "parking_lot 0.12.1", "secp256k1", "sp-core", "sp-externalities", @@ -7075,7 +7703,6 @@ dependencies = [ "sp-std", "sp-tracing", "sp-trie", - "sp-wasm-interface", "tracing", "tracing-core", ] @@ -7083,7 +7710,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "lazy_static", "sp-core", @@ -7094,7 +7721,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "futures", @@ -7111,7 +7738,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "thiserror", "zstd", @@ -7120,7 +7747,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -7138,7 +7765,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "scale-info", @@ -7152,7 +7779,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "sp-api", "sp-core", @@ -7162,7 +7789,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "backtrace", "lazy_static", @@ -7172,7 +7799,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "rustc-hash", "serde", @@ -7182,7 +7809,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "either", "hash256-std-hasher", @@ -7190,7 +7817,7 @@ dependencies = [ "log", "parity-scale-codec", "paste", - "rand 0.7.3", + "rand 0.8.5", "scale-info", "serde", "sp-application-crypto", @@ -7204,7 +7831,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -7222,7 +7849,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "Inflector", "proc-macro-crate", @@ -7234,7 +7861,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "scale-info", @@ -7248,7 +7875,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "scale-info", @@ -7260,14 +7887,13 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "hash-db", "log", - "num-traits", "parity-scale-codec", "parking_lot 0.12.1", - "rand 0.7.3", + "rand 0.8.5", "smallvec", "sp-core", "sp-externalities", @@ -7276,18 +7902,17 @@ dependencies = [ "sp-trie", "thiserror", "tracing", - "trie-root", ] [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "impl-serde", "parity-scale-codec", @@ -7300,13 +7925,12 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "futures-timer", "log", "parity-scale-codec", - "sp-api", "sp-inherents", "sp-runtime", "sp-std", @@ -7316,7 +7940,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "sp-std", @@ -7328,7 +7952,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "sp-api", "sp-runtime", @@ -7337,7 +7961,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "log", @@ -7353,7 +7977,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "ahash", "hash-db", @@ -7376,7 +8000,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "impl-serde", "parity-scale-codec", @@ -7393,7 +8017,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -7404,7 +8028,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "impl-trait-for-tuples", "log", @@ -7417,9 +8041,8 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ - "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "serde", @@ -7548,6 +8171,25 @@ dependencies = [ "syn", ] +[[package]] +name = "stun" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7e94b1ec00bad60e6410e058b52f1c66de3dc5fe4d62d09b3e52bb7d3b73e25" +dependencies = [ + "base64 0.13.1", + "crc", + "lazy_static", + "md-5", + "rand 0.8.5", + "ring", + "subtle", + "thiserror", + "tokio", + "url", + "webrtc-util", +] + [[package]] name = "substrate-bip39" version = "0.4.4" @@ -7564,7 +8206,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "platforms 2.0.0", ] @@ -7572,17 +8214,15 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-system-rpc-runtime-api", "futures", "jsonrpsee", "log", "parity-scale-codec", - "sc-client-api", "sc-rpc-api", "sc-transaction-pool-api", - "serde_json", "sp-api", "sp-block-builder", "sp-blockchain", @@ -7593,9 +8233,8 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ - "futures-util", "hyper", "log", "prometheus", @@ -7606,7 +8245,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "jsonrpsee", @@ -7619,7 +8258,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "array-bytes", "async-trait", @@ -7645,7 +8284,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "beefy-merkle-tree", "cfg-if", @@ -7688,7 +8327,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "futures", "parity-scale-codec", @@ -7707,7 +8346,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "ansi_term", "build-helper", @@ -7721,6 +8360,15 @@ dependencies = [ "wasm-opt", ] +[[package]] +name = "substring" +version = "1.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42ee6433ecef213b2e72f587ef64a2f5943e7cd16fbd82dbe8bc07486c534c86" +dependencies = [ + "autocfg", +] + [[package]] name = "subtle" version = "2.4.1" @@ -7873,22 +8521,30 @@ dependencies = [ ] [[package]] -name = "tiny-bip39" -version = "0.8.2" +name = "time" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffc59cb9dfc85bb312c3a78fd6aa8a8582e310b0fa885d5bb877f6dcc601839d" +checksum = "53250a3b3fed8ff8fd988587d8925d26a83ac3845d9e03b220b37f34c2b8d6c2" dependencies = [ - "anyhow", - "hmac 0.8.1", - "once_cell", - "pbkdf2 0.4.0", - "rand 0.7.3", - "rustc-hash", - "sha2 0.9.9", - "thiserror", - "unicode-normalization", - "wasm-bindgen", - "zeroize", + "itoa", + "serde", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e153e1f1acaef8acc537e68b44906d2db6436e2b35ac2c6b42640fff91f00fd" + +[[package]] +name = "time-macros" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a460aeb8de6dcb0f381e1ee05f1cd56fcf5a5f6eb8187ff3d8f0b11078d38b7c" +dependencies = [ + "time-core", ] [[package]] @@ -7910,6 +8566,16 @@ dependencies = [ "zeroize", ] +[[package]] +name = "tinytemplate" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc" +dependencies = [ + "serde", + "serde_json", +] + [[package]] name = "tinyvec" version = "1.6.0" @@ -7962,9 +8628,9 @@ version = "0.23.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" dependencies = [ - "rustls", + "rustls 0.20.8", "tokio", - "webpki", + "webpki 0.22.0", ] [[package]] @@ -7976,6 +8642,7 @@ dependencies = [ "futures-core", "pin-project-lite 0.2.9", "tokio", + "tokio-util", ] [[package]] @@ -8171,6 +8838,7 @@ dependencies = [ "lazy_static", "rand 0.8.5", "smallvec", + "socket2", "thiserror", "tinyvec", "tokio", @@ -8207,7 +8875,7 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "clap", "frame-remote-externalities", @@ -8215,11 +8883,11 @@ dependencies = [ "hex", "log", "parity-scale-codec", - "sc-chain-spec", "sc-cli", "sc-executor", "sc-service", "serde", + "serde_json", "sp-api", "sp-core", "sp-debug-derive", @@ -8241,6 +8909,25 @@ version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f4f195fd851901624eee5a58c4bb2b4f06399148fcd0ed336e6f1cb60a9881df" +[[package]] +name = "turn" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4712ee30d123ec7ae26d1e1b218395a16c87cdbaf4b3925d170d684af62ea5e8" +dependencies = [ + "async-trait", + "base64 0.13.1", + "futures", + "log", + "md-5", + "rand 0.8.5", + "ring", + "stun", + "thiserror", + "tokio", + "webrtc-util", +] + [[package]] name = "twox-hash" version = "1.6.3" @@ -8343,6 +9030,15 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "uuid" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1674845326ee10d37ca60470760d4288a6f80f304007d92e5c53bab78c9cfd79" +dependencies = [ + "getrandom 0.2.8", +] + [[package]] name = "valuable" version = "0.1.0" @@ -8367,6 +9063,15 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" +[[package]] +name = "waitgroup" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1f50000a783467e6c0200f9d10642f4bc424e39efc1b770203e88b488f79292" +dependencies = [ + "atomic-waker", +] + [[package]] name = "waker-fn" version = "1.1.0" @@ -8812,6 +9517,16 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "webpki" +version = "0.21.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea" +dependencies = [ + "ring", + "untrusted", +] + [[package]] name = "webpki" version = "0.22.0" @@ -8828,7 +9543,219 @@ version = "0.22.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87" dependencies = [ - "webpki", + "webpki 0.22.0", +] + +[[package]] +name = "webrtc" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d3bc9049bdb2cea52f5fd4f6f728184225bdb867ed0dc2410eab6df5bdd67bb" +dependencies = [ + "arc-swap", + "async-trait", + "bytes", + "hex", + "interceptor", + "lazy_static", + "log", + "rand 0.8.5", + "rcgen 0.9.3", + "regex", + "ring", + "rtcp", + "rtp", + "rustls 0.19.1", + "sdp", + "serde", + "serde_json", + "sha2 0.10.6", + "stun", + "thiserror", + "time 0.3.19", + "tokio", + "turn", + "url", + "waitgroup", + "webrtc-data", + "webrtc-dtls", + "webrtc-ice", + "webrtc-mdns", + "webrtc-media", + "webrtc-sctp", + "webrtc-srtp", + "webrtc-util", +] + +[[package]] +name = "webrtc-data" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ef36a4d12baa6e842582fe9ec16a57184ba35e1a09308307b67d43ec8883100" +dependencies = [ + "bytes", + "derive_builder", + "log", + "thiserror", + "tokio", + "webrtc-sctp", + "webrtc-util", +] + +[[package]] +name = "webrtc-dtls" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7021987ae0a2ed6c8cd33f68e98e49bb6e74ffe9543310267b48a1bbe3900e5f" +dependencies = [ + "aes 0.6.0", + "aes-gcm 0.8.0", + "async-trait", + "bincode", + "block-modes", + "byteorder", + "ccm", + "curve25519-dalek 3.2.0", + "der-parser 8.1.0", + "elliptic-curve", + "hkdf", + "hmac 0.10.1", + "log", + "oid-registry 0.6.1", + "p256", + "p384", + "rand 0.8.5", + "rand_core 0.6.4", + "rcgen 0.9.3", + "ring", + "rustls 0.19.1", + "sec1", + "serde", + "sha-1", + "sha2 0.9.9", + "signature", + "subtle", + "thiserror", + "tokio", + "webpki 0.21.4", + "webrtc-util", + "x25519-dalek 2.0.0-pre.1", + "x509-parser 0.13.2", +] + +[[package]] +name = "webrtc-ice" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "465a03cc11e9a7d7b4f9f99870558fe37a102b65b93f8045392fef7c67b39e80" +dependencies = [ + "arc-swap", + "async-trait", + "crc", + "log", + "rand 0.8.5", + "serde", + "serde_json", + "stun", + "thiserror", + "tokio", + "turn", + "url", + "uuid", + "waitgroup", + "webrtc-mdns", + "webrtc-util", +] + +[[package]] +name = "webrtc-mdns" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f08dfd7a6e3987e255c4dbe710dde5d94d0f0574f8a21afa95d171376c143106" +dependencies = [ + "log", + "socket2", + "thiserror", + "tokio", + "webrtc-util", +] + +[[package]] +name = "webrtc-media" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee2a3c157a040324e5049bcbd644ffc9079e6738fa2cfab2bcff64e5cc4c00d7" +dependencies = [ + "byteorder", + "bytes", + "derive_builder", + "displaydoc", + "rand 0.8.5", + "rtp", + "thiserror", + "webrtc-util", +] + +[[package]] +name = "webrtc-sctp" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d47adcd9427eb3ede33d5a7f3424038f63c965491beafcc20bc650a2f6679c0" +dependencies = [ + "arc-swap", + "async-trait", + "bytes", + "crc", + "log", + "rand 0.8.5", + "thiserror", + "tokio", + "webrtc-util", +] + +[[package]] +name = "webrtc-srtp" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6183edc4c1c6c0175f8812eefdce84dfa0aea9c3ece71c2bf6ddd3c964de3da5" +dependencies = [ + "aead 0.4.3", + "aes 0.7.5", + "aes-gcm 0.9.4", + "async-trait", + "byteorder", + "bytes", + "ctr 0.8.0", + "hmac 0.11.0", + "log", + "rtcp", + "rtp", + "sha-1", + "subtle", + "thiserror", + "tokio", + "webrtc-util", +] + +[[package]] +name = "webrtc-util" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93f1db1727772c05cf7a2cfece52c3aca8045ca1e176cd517d323489aa3c6d87" +dependencies = [ + "async-trait", + "bitflags", + "bytes", + "cc", + "ipnet", + "lazy_static", + "libc", + "log", + "nix", + "rand 0.8.5", + "thiserror", + "tokio", + "winapi", ] [[package]] @@ -9084,6 +10011,54 @@ dependencies = [ "zeroize", ] +[[package]] +name = "x25519-dalek" +version = "2.0.0-pre.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5da623d8af10a62342bcbbb230e33e58a63255a58012f8653c578e54bab48df" +dependencies = [ + "curve25519-dalek 3.2.0", + "rand_core 0.6.4", + "zeroize", +] + +[[package]] +name = "x509-parser" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fb9bace5b5589ffead1afb76e43e34cff39cd0f3ce7e170ae0c29e53b88eb1c" +dependencies = [ + "asn1-rs 0.3.1", + "base64 0.13.1", + "data-encoding", + "der-parser 7.0.0", + "lazy_static", + "nom", + "oid-registry 0.4.0", + "ring", + "rusticata-macros", + "thiserror", + "time 0.3.19", +] + +[[package]] +name = "x509-parser" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0ecbeb7b67ce215e40e3cc7f2ff902f94a223acf44995934763467e7b1febc8" +dependencies = [ + "asn1-rs 0.5.1", + "base64 0.13.1", + "data-encoding", + "der-parser 8.1.0", + "lazy_static", + "nom", + "oid-registry 0.6.1", + "rusticata-macros", + "thiserror", + "time 0.3.19", +] + [[package]] name = "yamux" version = "0.10.2" @@ -9098,6 +10073,15 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "yasna" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aed2e7a52e3744ab4d0c05c20aa065258e84c49fd4226f5191b2ed29712710b4" +dependencies = [ + "time 0.3.19", +] + [[package]] name = "zeroize" version = "1.5.7" diff --git a/aleph-client/Cargo.lock b/aleph-client/Cargo.lock index 7aea646f5c..0e5955769d 100644 --- a/aleph-client/Cargo.lock +++ b/aleph-client/Cargo.lock @@ -74,7 +74,7 @@ dependencies = [ "primitives", "serde", "serde_json", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "subxt", "thiserror", "tokio", @@ -909,7 +909,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bitflags", "frame-metadata", @@ -924,24 +924,24 @@ dependencies = [ "serde", "smallvec", "sp-api", - "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-core-hashing-proc-macro", "sp-inherents", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-staking", - "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "tt-call", ] [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "Inflector", "cfg-expr", @@ -955,7 +955,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -967,7 +967,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro2", "quote", @@ -2048,13 +2048,13 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "pallet-contracts-primitives" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bitflags", "parity-scale-codec", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -2169,6 +2169,15 @@ dependencies = [ "crypto-mac 0.11.1", ] +[[package]] +name = "pbkdf2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" +dependencies = [ + "digest 0.10.6", +] + [[package]] name = "percent-encoding" version = "2.2.0" @@ -2244,11 +2253,11 @@ dependencies = [ "scale-info", "serde", "sp-api", - "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -2921,17 +2930,17 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "hash-db", "log", "parity-scale-codec", "sp-api-proc-macro", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-version", "thiserror", ] @@ -2939,7 +2948,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "blake2", "proc-macro-crate", @@ -2965,14 +2974,14 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -2994,15 +3003,14 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "integer-sqrt", "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "static_assertions", ] @@ -3047,7 +3055,7 @@ dependencies = [ "ss58-registry", "substrate-bip39", "thiserror", - "tiny-bip39", + "tiny-bip39 0.8.2", "wasmi", "zeroize", ] @@ -3055,13 +3063,12 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "array-bytes", "base58", "bitflags", "blake2", - "byteorder", "dyn-clonable", "ed25519-zebra", "futures", @@ -3072,28 +3079,26 @@ dependencies = [ "libsecp256k1", "log", "merlin", - "num-traits", "parity-scale-codec", "parking_lot", "primitive-types", - "rand 0.7.3", + "rand 0.8.5", "regex", "scale-info", "schnorrkel", "secp256k1 0.24.3", "secrecy", "serde", - "sp-core-hashing 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core-hashing 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "ss58-registry", "substrate-bip39", "thiserror", - "tiny-bip39", - "wasmi", + "tiny-bip39 1.0.0", "zeroize", ] @@ -3115,25 +3120,25 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "blake2", "byteorder", "digest 0.10.6", "sha2 0.10.6", "sha3", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "twox-hash", ] [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro2", "quote", - "sp-core-hashing 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core-hashing 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "syn", ] @@ -3151,7 +3156,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro2", "quote", @@ -3173,25 +3178,25 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "environmental", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "thiserror", ] @@ -3225,26 +3230,24 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bytes", + "ed25519", "ed25519-dalek", "futures", - "hash-db", "libsecp256k1", "log", "parity-scale-codec", - "parking_lot", "secp256k1 0.24.3", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-keystore 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-wasm-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-keystore 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "tracing", "tracing-core", ] @@ -3269,7 +3272,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "futures", @@ -3277,8 +3280,8 @@ dependencies = [ "parity-scale-codec", "parking_lot", "schnorrkel", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "thiserror", ] @@ -3296,7 +3299,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "backtrace", "lazy_static", @@ -3330,7 +3333,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "either", "hash256-std-hasher", @@ -3338,15 +3341,15 @@ dependencies = [ "log", "parity-scale-codec", "paste", - "rand 0.7.3", + "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -3371,18 +3374,18 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-wasm-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-wasm-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "static_assertions", ] @@ -3402,7 +3405,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "Inflector", "proc-macro-crate", @@ -3414,13 +3417,13 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -3449,23 +3452,21 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "hash-db", "log", - "num-traits", "parity-scale-codec", "parking_lot", - "rand 0.7.3", + "rand 0.8.5", "smallvec", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-panic-handler 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-panic-handler 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "thiserror", "tracing", - "trie-root", ] [[package]] @@ -3477,7 +3478,7 @@ checksum = "cf3fd4c1d304be101e6ebbafd3d4be9a37b320c970ef4e8df188b16873981c93" [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" [[package]] name = "sp-storage" @@ -3496,14 +3497,14 @@ dependencies = [ [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "impl-serde", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -3522,10 +3523,10 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "tracing", "tracing-core", "tracing-subscriber", @@ -3558,7 +3559,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "ahash", "hash-db", @@ -3570,8 +3571,8 @@ dependencies = [ "parity-scale-codec", "parking_lot", "scale-info", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "thiserror", "tracing", "trie-db", @@ -3581,7 +3582,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "impl-serde", "parity-scale-codec", @@ -3589,8 +3590,8 @@ dependencies = [ "scale-info", "serde", "sp-core-hashing-proc-macro", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-version-proc-macro", "thiserror", ] @@ -3598,7 +3599,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -3622,12 +3623,12 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "wasmi", "wasmtime", ] @@ -3652,17 +3653,16 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ - "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "serde", "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -3899,6 +3899,25 @@ dependencies = [ "zeroize", ] +[[package]] +name = "tiny-bip39" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62cc94d358b5a1e84a5cb9109f559aa3c4d634d2b1b4de3d0fa4adc7c78e2861" +dependencies = [ + "anyhow", + "hmac 0.12.1", + "once_cell", + "pbkdf2 0.11.0", + "rand 0.8.5", + "rustc-hash", + "sha2 0.10.6", + "thiserror", + "unicode-normalization", + "wasm-bindgen", + "zeroize", +] + [[package]] name = "tinyvec" version = "1.6.0" diff --git a/aleph-client/Cargo.toml b/aleph-client/Cargo.toml index 53b02b3085..ce7990ae91 100644 --- a/aleph-client/Cargo.toml +++ b/aleph-client/Cargo.toml @@ -20,9 +20,9 @@ subxt = "0.25.0" futures = "0.3.25" serde = { version = "1.0", features = ["derive"] } -frame-support = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-runtime = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-contracts-primitives = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } +frame-support = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-runtime = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-contracts-primitives = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } primitives = { path = "../primitives" } [dev-dependencies] diff --git a/aleph-client/src/aleph_zero.rs b/aleph-client/src/aleph_zero.rs index 682deb8446..9649fdece5 100644 --- a/aleph-client/src/aleph_zero.rs +++ b/aleph-client/src/aleph_zero.rs @@ -735,10 +735,10 @@ pub mod api { "Events", vec![], [ - 216u8, 9u8, 134u8, 163u8, 54u8, 128u8, 220u8, 43u8, 43u8, 179u8, 114u8, - 84u8, 50u8, 83u8, 254u8, 52u8, 221u8, 241u8, 121u8, 101u8, 173u8, - 106u8, 44u8, 250u8, 183u8, 171u8, 221u8, 98u8, 96u8, 151u8, 31u8, - 195u8, + 100u8, 112u8, 231u8, 192u8, 184u8, 16u8, 59u8, 201u8, 45u8, 235u8, + 104u8, 44u8, 105u8, 65u8, 84u8, 78u8, 86u8, 161u8, 206u8, 209u8, 53u8, + 182u8, 73u8, 138u8, 118u8, 194u8, 88u8, 181u8, 76u8, 179u8, 207u8, + 180u8, ], ) } @@ -1183,9 +1183,9 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 92u8, 125u8, 1u8, 227u8, 15u8, 14u8, 163u8, 233u8, 121u8, 5u8, 80u8, - 172u8, 25u8, 62u8, 179u8, 250u8, 154u8, 221u8, 186u8, 7u8, 182u8, 60u8, - 110u8, 253u8, 117u8, 173u8, 7u8, 246u8, 230u8, 15u8, 25u8, 62u8, + 163u8, 73u8, 3u8, 157u8, 229u8, 239u8, 229u8, 245u8, 42u8, 233u8, 35u8, + 255u8, 125u8, 76u8, 97u8, 109u8, 13u8, 92u8, 70u8, 113u8, 28u8, 53u8, + 201u8, 76u8, 57u8, 76u8, 164u8, 2u8, 53u8, 46u8, 237u8, 242u8, ], ) } @@ -1229,10 +1229,10 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 192u8, 213u8, 182u8, 108u8, 161u8, 193u8, 232u8, 177u8, 178u8, 98u8, - 188u8, 130u8, 137u8, 228u8, 18u8, 154u8, 118u8, 212u8, 42u8, 70u8, - 245u8, 72u8, 54u8, 177u8, 161u8, 236u8, 11u8, 8u8, 129u8, 61u8, 8u8, - 252u8, + 84u8, 195u8, 200u8, 70u8, 66u8, 90u8, 128u8, 97u8, 43u8, 2u8, 252u8, + 53u8, 36u8, 196u8, 105u8, 165u8, 216u8, 220u8, 76u8, 163u8, 39u8, + 149u8, 178u8, 91u8, 166u8, 142u8, 155u8, 14u8, 31u8, 110u8, 167u8, + 158u8, ], ) } @@ -1277,9 +1277,9 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 84u8, 194u8, 155u8, 233u8, 100u8, 242u8, 158u8, 213u8, 203u8, 205u8, - 7u8, 88u8, 157u8, 248u8, 35u8, 110u8, 131u8, 45u8, 179u8, 121u8, 105u8, - 89u8, 157u8, 48u8, 119u8, 100u8, 101u8, 13u8, 85u8, 26u8, 11u8, 131u8, + 241u8, 215u8, 75u8, 40u8, 248u8, 168u8, 114u8, 76u8, 252u8, 51u8, 30u8, + 4u8, 5u8, 175u8, 87u8, 3u8, 109u8, 85u8, 176u8, 27u8, 23u8, 122u8, + 157u8, 18u8, 231u8, 3u8, 178u8, 224u8, 15u8, 240u8, 178u8, 239u8, ], ) } @@ -1310,10 +1310,10 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 2u8, 173u8, 159u8, 127u8, 215u8, 234u8, 101u8, 247u8, 196u8, 86u8, - 141u8, 160u8, 137u8, 183u8, 147u8, 152u8, 148u8, 59u8, 113u8, 198u8, - 167u8, 13u8, 46u8, 45u8, 37u8, 245u8, 173u8, 70u8, 96u8, 106u8, 127u8, - 106u8, + 42u8, 35u8, 170u8, 76u8, 223u8, 0u8, 152u8, 106u8, 208u8, 142u8, 156u8, + 112u8, 85u8, 40u8, 205u8, 241u8, 240u8, 86u8, 146u8, 11u8, 114u8, + 227u8, 138u8, 39u8, 57u8, 197u8, 240u8, 44u8, 251u8, 156u8, 130u8, + 171u8, ], ) } @@ -3200,6 +3200,17 @@ pub mod api { pub struct ForceApplyMinCommission { pub validator_stash: ::subxt::ext::sp_core::crypto::AccountId32, } + #[derive( + :: subxt :: ext :: codec :: Decode, + :: subxt :: ext :: codec :: Encode, + Clone, + Debug, + Eq, + PartialEq, + )] + pub struct SetMinCommission { + pub new: runtime_types::sp_arithmetic::per_things::Perbill, + } pub struct TransactionApi; impl TransactionApi { #[doc = "Take the origin account as a stash and lock up `value` of its balance. `controller` will"] @@ -3286,8 +3297,8 @@ pub mod api { #[doc = "the funds out of management ready for transfer."] #[doc = ""] #[doc = "No more than a limited number of unlocking chunks (see `MaxUnlockingChunks`)"] - #[doc = "can co-exists at the same time. In that case, [`Call::withdraw_unbonded`] need"] - #[doc = "to be called first to remove some of the chunks (if possible)."] + #[doc = "can co-exists at the same time. If there are no unlocking chunks slots available"] + #[doc = "[`Call::withdraw_unbonded`] is called to remove some of the chunks (if possible)."] #[doc = ""] #[doc = "If a user encounters the `InsufficientBond` error when calling this extrinsic,"] #[doc = "they should call `chill` first in order to free up their bonded funds."] @@ -3678,7 +3689,7 @@ pub mod api { } #[doc = "Cancel enactment of a deferred slash."] #[doc = ""] - #[doc = "Can be called by the `T::SlashCancelOrigin`."] + #[doc = "Can be called by the `T::AdminOrigin`."] #[doc = ""] #[doc = "Parameters: era and indices of the slashes for that era to kill."] pub fn cancel_deferred_slash( @@ -3942,6 +3953,26 @@ pub mod api { ], ) } + #[doc = "Sets the minimum amount of commission that each validators must maintain."] + #[doc = ""] + #[doc = "This call has lower privilege requirements than `set_staking_config` and can be called"] + #[doc = "by the `T::AdminOrigin`. Root can always call this."] + pub fn set_min_commission( + &self, + new: runtime_types::sp_arithmetic::per_things::Perbill, + ) -> ::subxt::tx::StaticTxPayload { + ::subxt::tx::StaticTxPayload::new( + "Staking", + "set_min_commission", + SetMinCommission { new }, + [ + 62u8, 139u8, 175u8, 245u8, 212u8, 113u8, 117u8, 130u8, 191u8, 173u8, + 78u8, 97u8, 19u8, 104u8, 185u8, 207u8, 201u8, 14u8, 200u8, 208u8, + 184u8, 195u8, 242u8, 175u8, 158u8, 156u8, 51u8, 58u8, 118u8, 154u8, + 68u8, 221u8, + ], + ) + } } } #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -3992,7 +4023,7 @@ pub mod api { Eq, PartialEq, )] - #[doc = "One staker (and potentially its nominators) has been slashed by the given amount."] + #[doc = "A staker (validator or nominator) has been slashed by the given amount."] pub struct Slashed { pub staker: ::subxt::ext::sp_core::crypto::AccountId32, pub amount: ::core::primitive::u128, @@ -4001,6 +4032,25 @@ pub mod api { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "Slashed"; } + #[derive( + :: subxt :: ext :: codec :: Decode, + :: subxt :: ext :: codec :: Encode, + Clone, + Debug, + Eq, + PartialEq, + )] + #[doc = "A slash for the given validator, for the given percentage of their stake, at the given"] + #[doc = "era as been reported."] + pub struct SlashReported { + pub validator: ::subxt::ext::sp_core::crypto::AccountId32, + pub fraction: runtime_types::sp_arithmetic::per_things::Perbill, + pub slash_era: ::core::primitive::u32, + } + impl ::subxt::events::StaticEvent for SlashReported { + const PALLET: &'static str = "Staking"; + const EVENT: &'static str = "SlashReported"; + } #[derive( :: subxt :: ext :: codec :: CompactAs, :: subxt :: ext :: codec :: Decode, @@ -4169,6 +4219,22 @@ pub mod api { const PALLET: &'static str = "Staking"; const EVENT: &'static str = "ValidatorPrefsSet"; } + #[derive( + :: subxt :: ext :: codec :: Decode, + :: subxt :: ext :: codec :: Encode, + Clone, + Debug, + Eq, + PartialEq, + )] + #[doc = "A new force era mode was set."] + pub struct ForceEra { + pub mode: runtime_types::pallet_staking::Forcing, + } + impl ::subxt::events::StaticEvent for ForceEra { + const PALLET: &'static str = "Staking"; + const EVENT: &'static str = "ForceEra"; + } } pub mod storage { use super::runtime_types; @@ -4239,6 +4305,8 @@ pub mod api { ) } #[doc = " Map from all locked \"stash\" accounts to the controller account."] + #[doc = ""] + #[doc = " TWOX-NOTE: SAFE since `AccountId` is a secure hash."] pub fn bonded( &self, _0: impl ::std::borrow::Borrow<::subxt::ext::sp_core::crypto::AccountId32>, @@ -4263,6 +4331,8 @@ pub mod api { ) } #[doc = " Map from all locked \"stash\" accounts to the controller account."] + #[doc = ""] + #[doc = " TWOX-NOTE: SAFE since `AccountId` is a secure hash."] pub fn bonded_root( &self, ) -> ::subxt::storage::address::StaticStorageAddress< @@ -4322,6 +4392,26 @@ pub mod api { ], ) } + #[doc = " The minimum active nominator stake of the last successful election."] + pub fn minimum_active_stake( + &self, + ) -> ::subxt::storage::address::StaticStorageAddress< + ::subxt::metadata::DecodeStaticType<::core::primitive::u128>, + ::subxt::storage::address::Yes, + ::subxt::storage::address::Yes, + (), + > { + ::subxt::storage::address::StaticStorageAddress::new( + "Staking", + "MinimumActiveStake", + vec![], + [ + 172u8, 190u8, 228u8, 47u8, 47u8, 192u8, 182u8, 59u8, 9u8, 18u8, 103u8, + 46u8, 175u8, 54u8, 17u8, 79u8, 89u8, 107u8, 255u8, 200u8, 182u8, 107u8, + 89u8, 157u8, 55u8, 16u8, 77u8, 46u8, 154u8, 169u8, 103u8, 151u8, + ], + ) + } #[doc = " The minimum amount of commission that validators can set."] #[doc = ""] #[doc = " If set to `0`, no limit exists."] @@ -4397,6 +4487,8 @@ pub mod api { ) } #[doc = " Where the reward payment should be made. Keyed by stash."] + #[doc = ""] + #[doc = " TWOX-NOTE: SAFE since `AccountId` is a secure hash."] pub fn payee( &self, _0: impl ::std::borrow::Borrow<::subxt::ext::sp_core::crypto::AccountId32>, @@ -4426,6 +4518,8 @@ pub mod api { ) } #[doc = " Where the reward payment should be made. Keyed by stash."] + #[doc = ""] + #[doc = " TWOX-NOTE: SAFE since `AccountId` is a secure hash."] pub fn payee_root( &self, ) -> ::subxt::storage::address::StaticStorageAddress< @@ -4451,6 +4545,8 @@ pub mod api { ) } #[doc = " The map from (wannabe) validator stash key to the preferences of that validator."] + #[doc = ""] + #[doc = " TWOX-NOTE: SAFE since `AccountId` is a secure hash."] pub fn validators( &self, _0: impl ::std::borrow::Borrow<::subxt::ext::sp_core::crypto::AccountId32>, @@ -4478,6 +4574,8 @@ pub mod api { ) } #[doc = " The map from (wannabe) validator stash key to the preferences of that validator."] + #[doc = ""] + #[doc = " TWOX-NOTE: SAFE since `AccountId` is a secure hash."] pub fn validators_root( &self, ) -> ::subxt::storage::address::StaticStorageAddress< @@ -4558,6 +4656,8 @@ pub mod api { #[doc = ""] #[doc = " Lastly, if any of the nominators become non-decodable, they can be chilled immediately via"] #[doc = " [`Call::chill_other`] dispatchable by anyone."] + #[doc = ""] + #[doc = " TWOX-NOTE: SAFE since `AccountId` is a secure hash."] pub fn nominators( &self, _0: impl ::std::borrow::Borrow<::subxt::ext::sp_core::crypto::AccountId32>, @@ -4598,6 +4698,8 @@ pub mod api { #[doc = ""] #[doc = " Lastly, if any of the nominators become non-decodable, they can be chilled immediately via"] #[doc = " [`Call::chill_other`] dispatchable by anyone."] + #[doc = ""] + #[doc = " TWOX-NOTE: SAFE since `AccountId` is a secure hash."] pub fn nominators_root( &self, ) -> ::subxt::storage::address::StaticStorageAddress< @@ -5547,29 +5649,6 @@ pub mod api { ], ) } - #[doc = " True if network has been upgraded to this version."] - #[doc = " Storage version of the pallet."] - #[doc = ""] - #[doc = " This is set to v7.0.0 for new networks."] - pub fn storage_version( - &self, - ) -> ::subxt::storage::address::StaticStorageAddress< - ::subxt::metadata::DecodeStaticType, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, - (), - > { - ::subxt::storage::address::StaticStorageAddress::new( - "Staking", - "StorageVersion", - vec![], - [ - 70u8, 24u8, 179u8, 189u8, 168u8, 164u8, 175u8, 150u8, 215u8, 43u8, - 18u8, 110u8, 180u8, 137u8, 237u8, 187u8, 185u8, 50u8, 31u8, 57u8, 16u8, - 110u8, 6u8, 170u8, 19u8, 7u8, 160u8, 134u8, 232u8, 227u8, 151u8, 116u8, - ], - ) - } #[doc = " The threshold for when users can start calling `chill_other` for other validators /"] #[doc = " nominators. The threshold is compared to the actual number of validators / nominators"] #[doc = " (`CountFor*`) in the system compared to the configured max (`Max*Count`)."] @@ -6326,10 +6405,10 @@ pub mod api { "NextAuthorities", vec![], [ - 217u8, 12u8, 37u8, 222u8, 249u8, 100u8, 15u8, 59u8, 130u8, 255u8, 34u8, - 57u8, 211u8, 50u8, 162u8, 96u8, 130u8, 157u8, 168u8, 15u8, 137u8, - 228u8, 136u8, 35u8, 18u8, 234u8, 43u8, 190u8, 78u8, 112u8, 186u8, - 203u8, + 120u8, 66u8, 194u8, 154u8, 194u8, 127u8, 75u8, 106u8, 59u8, 172u8, + 86u8, 242u8, 209u8, 110u8, 207u8, 132u8, 69u8, 73u8, 186u8, 235u8, + 95u8, 97u8, 117u8, 132u8, 76u8, 96u8, 86u8, 87u8, 74u8, 232u8, 91u8, + 120u8, ], ) } @@ -7412,6 +7491,23 @@ pub mod api { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "SpendApproved"; } + #[derive( + :: subxt :: ext :: codec :: Decode, + :: subxt :: ext :: codec :: Encode, + Clone, + Debug, + Eq, + PartialEq, + )] + #[doc = "The inactive funds of the pallet have been updated."] + pub struct UpdatedInactive { + pub reactivated: ::core::primitive::u128, + pub deactivated: ::core::primitive::u128, + } + impl ::subxt::events::StaticEvent for UpdatedInactive { + const PALLET: &'static str = "Treasury"; + const EVENT: &'static str = "UpdatedInactive"; + } } pub mod storage { use super::runtime_types; @@ -7493,7 +7589,7 @@ pub mod api { ) } #[doc = " The amount which has been reported as inactive to Currency."] - pub fn inactive( + pub fn deactivated( &self, ) -> ::subxt::storage::address::StaticStorageAddress< ::subxt::metadata::DecodeStaticType<::core::primitive::u128>, @@ -7503,12 +7599,12 @@ pub mod api { > { ::subxt::storage::address::StaticStorageAddress::new( "Treasury", - "Inactive", + "Deactivated", vec![], [ - 240u8, 100u8, 242u8, 40u8, 169u8, 252u8, 255u8, 248u8, 66u8, 157u8, - 165u8, 206u8, 229u8, 145u8, 80u8, 73u8, 237u8, 44u8, 72u8, 76u8, 101u8, - 215u8, 87u8, 33u8, 252u8, 224u8, 54u8, 138u8, 79u8, 99u8, 225u8, 34u8, + 159u8, 57u8, 5u8, 85u8, 136u8, 128u8, 70u8, 43u8, 67u8, 76u8, 123u8, + 206u8, 48u8, 253u8, 51u8, 40u8, 14u8, 35u8, 162u8, 173u8, 127u8, 79u8, + 38u8, 235u8, 9u8, 141u8, 201u8, 37u8, 211u8, 176u8, 119u8, 106u8, ], ) } @@ -8211,9 +8307,9 @@ pub mod api { "batch", Batch { calls }, [ - 4u8, 79u8, 14u8, 89u8, 76u8, 13u8, 179u8, 170u8, 208u8, 214u8, 44u8, - 217u8, 82u8, 8u8, 48u8, 198u8, 107u8, 107u8, 58u8, 177u8, 224u8, 192u8, - 37u8, 183u8, 144u8, 157u8, 150u8, 218u8, 150u8, 215u8, 23u8, 21u8, + 253u8, 30u8, 32u8, 31u8, 20u8, 172u8, 133u8, 153u8, 122u8, 253u8, 33u8, + 58u8, 22u8, 223u8, 93u8, 96u8, 179u8, 187u8, 213u8, 219u8, 89u8, 176u8, + 23u8, 128u8, 70u8, 236u8, 175u8, 3u8, 77u8, 235u8, 220u8, 193u8, ], ) } @@ -8243,9 +8339,9 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 7u8, 47u8, 218u8, 3u8, 40u8, 163u8, 23u8, 24u8, 4u8, 156u8, 217u8, - 61u8, 124u8, 186u8, 56u8, 1u8, 128u8, 28u8, 220u8, 39u8, 201u8, 122u8, - 78u8, 247u8, 135u8, 191u8, 25u8, 173u8, 191u8, 187u8, 28u8, 66u8, + 245u8, 248u8, 227u8, 228u8, 1u8, 178u8, 195u8, 152u8, 185u8, 209u8, + 117u8, 173u8, 163u8, 17u8, 158u8, 78u8, 81u8, 25u8, 83u8, 49u8, 83u8, + 166u8, 21u8, 254u8, 35u8, 86u8, 143u8, 154u8, 56u8, 151u8, 27u8, 233u8, ], ) } @@ -8272,10 +8368,10 @@ pub mod api { "batch_all", BatchAll { calls }, [ - 50u8, 252u8, 99u8, 89u8, 154u8, 233u8, 232u8, 100u8, 115u8, 42u8, - 165u8, 26u8, 84u8, 211u8, 84u8, 189u8, 23u8, 63u8, 251u8, 87u8, 188u8, - 156u8, 174u8, 148u8, 22u8, 217u8, 238u8, 193u8, 120u8, 13u8, 12u8, - 139u8, + 225u8, 123u8, 156u8, 170u8, 226u8, 179u8, 43u8, 231u8, 221u8, 106u8, + 232u8, 59u8, 142u8, 147u8, 245u8, 91u8, 24u8, 200u8, 20u8, 82u8, 226u8, + 213u8, 217u8, 162u8, 254u8, 213u8, 56u8, 5u8, 246u8, 181u8, 188u8, + 168u8, ], ) } @@ -8302,9 +8398,9 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 6u8, 14u8, 186u8, 198u8, 179u8, 173u8, 43u8, 37u8, 192u8, 199u8, 201u8, - 38u8, 182u8, 124u8, 116u8, 16u8, 59u8, 96u8, 18u8, 64u8, 188u8, 205u8, - 126u8, 253u8, 144u8, 82u8, 131u8, 229u8, 215u8, 49u8, 120u8, 166u8, + 159u8, 76u8, 58u8, 40u8, 136u8, 99u8, 98u8, 253u8, 150u8, 94u8, 116u8, + 200u8, 101u8, 114u8, 143u8, 183u8, 58u8, 66u8, 4u8, 17u8, 245u8, 195u8, + 43u8, 209u8, 169u8, 37u8, 55u8, 71u8, 146u8, 119u8, 149u8, 115u8, ], ) } @@ -8331,9 +8427,10 @@ pub mod api { "force_batch", ForceBatch { calls }, [ - 194u8, 191u8, 203u8, 57u8, 25u8, 76u8, 67u8, 192u8, 237u8, 58u8, 255u8, - 253u8, 157u8, 172u8, 201u8, 163u8, 248u8, 68u8, 76u8, 152u8, 104u8, - 74u8, 93u8, 26u8, 72u8, 135u8, 185u8, 109u8, 166u8, 138u8, 103u8, 38u8, + 159u8, 217u8, 163u8, 140u8, 146u8, 206u8, 206u8, 198u8, 142u8, 164u8, + 187u8, 93u8, 130u8, 243u8, 153u8, 50u8, 118u8, 157u8, 145u8, 3u8, 67u8, + 120u8, 51u8, 157u8, 134u8, 136u8, 159u8, 29u8, 227u8, 240u8, 151u8, + 155u8, ], ) } @@ -8356,9 +8453,9 @@ pub mod api { weight, }, [ - 223u8, 35u8, 6u8, 230u8, 108u8, 3u8, 69u8, 75u8, 64u8, 207u8, 82u8, - 78u8, 73u8, 120u8, 215u8, 161u8, 58u8, 242u8, 237u8, 123u8, 33u8, - 112u8, 0u8, 219u8, 104u8, 134u8, 73u8, 20u8, 64u8, 158u8, 73u8, 236u8, + 75u8, 40u8, 26u8, 228u8, 66u8, 36u8, 170u8, 110u8, 225u8, 120u8, 157u8, + 81u8, 64u8, 160u8, 182u8, 120u8, 255u8, 8u8, 40u8, 217u8, 144u8, 165u8, + 62u8, 166u8, 68u8, 174u8, 11u8, 108u8, 23u8, 95u8, 209u8, 248u8, ], ) } @@ -8582,10 +8679,9 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 74u8, 40u8, 223u8, 109u8, 231u8, 102u8, 200u8, 9u8, 197u8, 219u8, - 140u8, 137u8, 229u8, 43u8, 163u8, 217u8, 46u8, 90u8, 181u8, 235u8, - 142u8, 218u8, 162u8, 137u8, 26u8, 102u8, 248u8, 114u8, 140u8, 20u8, - 186u8, 212u8, + 25u8, 13u8, 214u8, 120u8, 72u8, 127u8, 224u8, 255u8, 198u8, 111u8, + 95u8, 106u8, 148u8, 10u8, 8u8, 74u8, 106u8, 5u8, 78u8, 66u8, 232u8, + 26u8, 158u8, 87u8, 190u8, 229u8, 169u8, 97u8, 11u8, 118u8, 117u8, 86u8, ], ) } @@ -8655,9 +8751,10 @@ pub mod api { max_weight, }, [ - 117u8, 8u8, 22u8, 74u8, 40u8, 91u8, 241u8, 193u8, 81u8, 172u8, 187u8, - 127u8, 95u8, 132u8, 65u8, 20u8, 183u8, 248u8, 17u8, 66u8, 228u8, 219u8, - 244u8, 181u8, 141u8, 92u8, 137u8, 124u8, 94u8, 58u8, 76u8, 109u8, + 29u8, 185u8, 118u8, 85u8, 35u8, 204u8, 254u8, 30u8, 169u8, 158u8, + 140u8, 49u8, 222u8, 30u8, 230u8, 50u8, 235u8, 19u8, 58u8, 192u8, 167u8, + 139u8, 61u8, 254u8, 123u8, 76u8, 12u8, 114u8, 167u8, 55u8, 198u8, + 200u8, ], ) } @@ -9069,9 +9166,9 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 142u8, 65u8, 169u8, 88u8, 195u8, 0u8, 195u8, 187u8, 24u8, 100u8, 175u8, - 34u8, 121u8, 202u8, 49u8, 0u8, 132u8, 155u8, 208u8, 40u8, 177u8, 125u8, - 100u8, 143u8, 110u8, 49u8, 20u8, 194u8, 255u8, 3u8, 196u8, 4u8, + 68u8, 94u8, 245u8, 14u8, 65u8, 18u8, 181u8, 119u8, 41u8, 253u8, 14u8, + 26u8, 104u8, 130u8, 47u8, 86u8, 174u8, 125u8, 24u8, 31u8, 134u8, 221u8, + 142u8, 116u8, 62u8, 184u8, 66u8, 234u8, 78u8, 126u8, 233u8, 98u8, ], ) } @@ -9098,10 +9195,10 @@ pub mod api { weight, }, [ - 49u8, 4u8, 201u8, 123u8, 217u8, 74u8, 119u8, 132u8, 164u8, 102u8, 15u8, - 144u8, 128u8, 119u8, 167u8, 125u8, 218u8, 113u8, 70u8, 220u8, 137u8, - 201u8, 174u8, 190u8, 45u8, 218u8, 145u8, 131u8, 44u8, 109u8, 215u8, - 216u8, + 216u8, 132u8, 15u8, 247u8, 186u8, 238u8, 243u8, 162u8, 253u8, 231u8, + 39u8, 133u8, 246u8, 126u8, 140u8, 182u8, 18u8, 255u8, 141u8, 101u8, + 148u8, 25u8, 49u8, 7u8, 226u8, 50u8, 130u8, 216u8, 92u8, 165u8, 32u8, + 40u8, ], ) } @@ -9160,9 +9257,9 @@ pub mod api { call: ::std::boxed::Box::new(call), }, [ - 10u8, 158u8, 160u8, 60u8, 57u8, 102u8, 9u8, 180u8, 124u8, 113u8, 4u8, - 94u8, 164u8, 212u8, 38u8, 165u8, 25u8, 70u8, 50u8, 52u8, 135u8, 150u8, - 18u8, 56u8, 143u8, 99u8, 90u8, 42u8, 37u8, 79u8, 167u8, 166u8, + 59u8, 58u8, 109u8, 112u8, 202u8, 173u8, 224u8, 161u8, 95u8, 93u8, + 188u8, 120u8, 195u8, 60u8, 216u8, 97u8, 59u8, 23u8, 70u8, 110u8, 185u8, + 29u8, 198u8, 234u8, 134u8, 222u8, 99u8, 4u8, 62u8, 6u8, 156u8, 112u8, ], ) } @@ -10191,10 +10288,9 @@ pub mod api { "Contracts", "Schedule", [ - 216u8, 143u8, 244u8, 2u8, 98u8, 169u8, 138u8, 243u8, 202u8, 101u8, - 180u8, 250u8, 10u8, 166u8, 10u8, 41u8, 46u8, 154u8, 236u8, 105u8, 55u8, - 175u8, 64u8, 31u8, 188u8, 56u8, 255u8, 25u8, 170u8, 198u8, 178u8, - 133u8, + 203u8, 98u8, 182u8, 130u8, 165u8, 6u8, 149u8, 28u8, 44u8, 67u8, 79u8, + 25u8, 47u8, 191u8, 183u8, 41u8, 65u8, 129u8, 135u8, 29u8, 178u8, 224u8, + 196u8, 247u8, 58u8, 215u8, 101u8, 35u8, 77u8, 233u8, 60u8, 155u8, ], ) } @@ -10353,6 +10449,23 @@ pub mod api { ], ) } + #[doc = " The maximum length of the debug buffer in bytes."] + pub fn max_debug_buffer_len( + &self, + ) -> ::subxt::constants::StaticConstantAddress< + ::subxt::metadata::DecodeStaticType<::core::primitive::u32>, + > { + ::subxt::constants::StaticConstantAddress::new( + "Contracts", + "MaxDebugBufferLen", + [ + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, + ], + ) + } } } } @@ -10672,9 +10785,12 @@ pub mod api { #[doc = "# Note"] #[doc = ""] #[doc = "If there are too many unlocking chunks to unbond with the pool account,"] - #[doc = "[`Call::pool_withdraw_unbonded`] can be called to try and minimize unlocking chunks. If"] - #[doc = "there are too many unlocking chunks, the result of this call will likely be the"] - #[doc = "`NoMoreChunks` error from the staking system."] + #[doc = "[`Call::pool_withdraw_unbonded`] can be called to try and minimize unlocking chunks."] + #[doc = "The [`StakingInterface::unbond`] will implicitly call [`Call::pool_withdraw_unbonded`]"] + #[doc = "to try to free chunks if necessary (ie. if unbound was called and no unlocking chunks"] + #[doc = "are available). However, it may not be possible to release the current unlocking chunks,"] + #[doc = "in which case, the result of this call will likely be the `NoMoreChunks` error from the"] + #[doc = "staking system."] pub fn unbond( &self, member_account: ::subxt::ext::sp_runtime::MultiAddress< @@ -11369,6 +11485,8 @@ pub mod api { ) } #[doc = " Active members."] + #[doc = ""] + #[doc = " TWOX-NOTE: SAFE since `AccountId` is a secure hash."] pub fn pool_members( &self, _0: impl ::std::borrow::Borrow<::subxt::ext::sp_core::crypto::AccountId32>, @@ -11396,6 +11514,8 @@ pub mod api { ) } #[doc = " Active members."] + #[doc = ""] + #[doc = " TWOX-NOTE: SAFE since `AccountId` is a secure hash."] pub fn pool_members_root( &self, ) -> ::subxt::storage::address::StaticStorageAddress< @@ -14562,6 +14682,7 @@ pub mod api { pub call_per_cloned_byte: ::core::primitive::u64, pub instantiate: ::core::primitive::u64, pub instantiate_transfer_surcharge: ::core::primitive::u64, + pub instantiate_per_input_byte: ::core::primitive::u64, pub instantiate_per_salt_byte: ::core::primitive::u64, pub hash_sha2_256: ::core::primitive::u64, pub hash_sha2_256_per_byte: ::core::primitive::u64, @@ -14651,7 +14772,6 @@ pub mod api { )] pub struct Limits { pub event_topics: ::core::primitive::u32, - pub stack_height: ::core::option::Option<::core::primitive::u32>, pub globals: ::core::primitive::u32, pub locals: ::core::primitive::u32, pub parameters: ::core::primitive::u32, @@ -15941,9 +16061,12 @@ pub mod api { #[doc = "# Note"] #[doc = ""] #[doc = "If there are too many unlocking chunks to unbond with the pool account,"] - #[doc = "[`Call::pool_withdraw_unbonded`] can be called to try and minimize unlocking chunks. If"] - #[doc = "there are too many unlocking chunks, the result of this call will likely be the"] - #[doc = "`NoMoreChunks` error from the staking system."] + #[doc = "[`Call::pool_withdraw_unbonded`] can be called to try and minimize unlocking chunks."] + #[doc = "The [`StakingInterface::unbond`] will implicitly call [`Call::pool_withdraw_unbonded`]"] + #[doc = "to try to free chunks if necessary (ie. if unbound was called and no unlocking chunks"] + #[doc = "are available). However, it may not be possible to release the current unlocking chunks,"] + #[doc = "in which case, the result of this call will likely be the `NoMoreChunks` error from the"] + #[doc = "staking system."] unbond { member_account: ::subxt::ext::sp_runtime::MultiAddress< ::subxt::ext::sp_core::crypto::AccountId32, @@ -16839,8 +16962,8 @@ pub mod api { #[doc = "the funds out of management ready for transfer."] #[doc = ""] #[doc = "No more than a limited number of unlocking chunks (see `MaxUnlockingChunks`)"] - #[doc = "can co-exists at the same time. In that case, [`Call::withdraw_unbonded`] need"] - #[doc = "to be called first to remove some of the chunks (if possible)."] + #[doc = "can co-exists at the same time. If there are no unlocking chunks slots available"] + #[doc = "[`Call::withdraw_unbonded`] is called to remove some of the chunks (if possible)."] #[doc = ""] #[doc = "If a user encounters the `InsufficientBond` error when calling this extrinsic,"] #[doc = "they should call `chill` first in order to free up their bonded funds."] @@ -17061,7 +17184,7 @@ pub mod api { #[codec(index = 17)] #[doc = "Cancel enactment of a deferred slash."] #[doc = ""] - #[doc = "Can be called by the `T::SlashCancelOrigin`."] + #[doc = "Can be called by the `T::AdminOrigin`."] #[doc = ""] #[doc = "Parameters: era and indices of the slashes for that era to kill."] cancel_deferred_slash { @@ -17225,6 +17348,14 @@ pub mod api { force_apply_min_commission { validator_stash: ::subxt::ext::sp_core::crypto::AccountId32, }, + #[codec(index = 25)] + #[doc = "Sets the minimum amount of commission that each validators must maintain."] + #[doc = ""] + #[doc = "This call has lower privilege requirements than `set_staking_config` and can be called"] + #[doc = "by the `T::AdminOrigin`. Root can always call this."] + set_min_commission { + new: runtime_types::sp_arithmetic::per_things::Perbill, + }, } #[derive( :: subxt :: ext :: codec :: Decode, @@ -17357,21 +17488,29 @@ pub mod api { amount: ::core::primitive::u128, }, #[codec(index = 2)] - #[doc = "One staker (and potentially its nominators) has been slashed by the given amount."] + #[doc = "A staker (validator or nominator) has been slashed by the given amount."] Slashed { staker: ::subxt::ext::sp_core::crypto::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 3)] + #[doc = "A slash for the given validator, for the given percentage of their stake, at the given"] + #[doc = "era as been reported."] + SlashReported { + validator: ::subxt::ext::sp_core::crypto::AccountId32, + fraction: runtime_types::sp_arithmetic::per_things::Perbill, + slash_era: ::core::primitive::u32, + }, + #[codec(index = 4)] #[doc = "An old slashing report from a prior era was discarded because it could"] #[doc = "not be processed."] OldSlashingReportDiscarded { session_index: ::core::primitive::u32, }, - #[codec(index = 4)] + #[codec(index = 5)] #[doc = "A new set of stakers was elected."] StakersElected, - #[codec(index = 5)] + #[codec(index = 6)] #[doc = "An account has bonded this amount. \\[stash, amount\\]"] #[doc = ""] #[doc = "NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,"] @@ -17380,45 +17519,50 @@ pub mod api { stash: ::subxt::ext::sp_core::crypto::AccountId32, amount: ::core::primitive::u128, }, - #[codec(index = 6)] + #[codec(index = 7)] #[doc = "An account has unbonded this amount."] Unbonded { stash: ::subxt::ext::sp_core::crypto::AccountId32, amount: ::core::primitive::u128, }, - #[codec(index = 7)] + #[codec(index = 8)] #[doc = "An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`"] #[doc = "from the unlocking queue."] Withdrawn { stash: ::subxt::ext::sp_core::crypto::AccountId32, amount: ::core::primitive::u128, }, - #[codec(index = 8)] + #[codec(index = 9)] #[doc = "A nominator has been kicked from a validator."] Kicked { nominator: ::subxt::ext::sp_core::crypto::AccountId32, stash: ::subxt::ext::sp_core::crypto::AccountId32, }, - #[codec(index = 9)] + #[codec(index = 10)] #[doc = "The election failed. No new era is planned."] StakingElectionFailed, - #[codec(index = 10)] + #[codec(index = 11)] #[doc = "An account has stopped participating as either a validator or nominator."] Chilled { stash: ::subxt::ext::sp_core::crypto::AccountId32, }, - #[codec(index = 11)] + #[codec(index = 12)] #[doc = "The stakers' rewards are getting paid."] PayoutStarted { era_index: ::core::primitive::u32, validator_stash: ::subxt::ext::sp_core::crypto::AccountId32, }, - #[codec(index = 12)] + #[codec(index = 13)] #[doc = "A validator has set their preferences."] ValidatorPrefsSet { stash: ::subxt::ext::sp_core::crypto::AccountId32, prefs: runtime_types::pallet_staking::ValidatorPrefs, }, + #[codec(index = 14)] + #[doc = "A new force era mode was set."] + ForceEra { + mode: runtime_types::pallet_staking::Forcing, + }, } } } @@ -17545,40 +17689,6 @@ pub mod api { Eq, PartialEq, )] - pub enum Releases { - #[codec(index = 0)] - V1_0_0Ancient, - #[codec(index = 1)] - V2_0_0, - #[codec(index = 2)] - V3_0_0, - #[codec(index = 3)] - V4_0_0, - #[codec(index = 4)] - V5_0_0, - #[codec(index = 5)] - V6_0_0, - #[codec(index = 6)] - V7_0_0, - #[codec(index = 7)] - V8_0_0, - #[codec(index = 8)] - V9_0_0, - #[codec(index = 9)] - V10_0_0, - #[codec(index = 10)] - V11_0_0, - #[codec(index = 11)] - V12_0_0, - } - #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - Clone, - Debug, - Eq, - PartialEq, - )] pub enum RewardDestination<_0> { #[codec(index = 0)] Staked, @@ -18045,6 +18155,12 @@ pub mod api { amount: ::core::primitive::u128, beneficiary: ::subxt::ext::sp_core::crypto::AccountId32, }, + #[codec(index = 8)] + #[doc = "The inactive funds of the pallet have been updated."] + UpdatedInactive { + reactivated: ::core::primitive::u128, + deactivated: ::core::primitive::u128, + }, } } #[derive( @@ -18622,6 +18738,22 @@ pub mod api { )] pub struct Permill(pub ::core::primitive::u32); } + #[derive( + :: subxt :: ext :: codec :: Decode, + :: subxt :: ext :: codec :: Encode, + Clone, + Debug, + Eq, + PartialEq, + )] + pub enum ArithmeticError { + #[codec(index = 0)] + Underflow, + #[codec(index = 1)] + Overflow, + #[codec(index = 2)] + DivisionByZero, + } } pub mod sp_consensus_aura { use super::runtime_types; @@ -19433,22 +19565,6 @@ pub mod api { Eq, PartialEq, )] - pub enum ArithmeticError { - #[codec(index = 0)] - Underflow, - #[codec(index = 1)] - Overflow, - #[codec(index = 2)] - DivisionByZero, - } - #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - Clone, - Debug, - Eq, - PartialEq, - )] pub enum DispatchError { #[codec(index = 0)] Other, @@ -19467,7 +19583,7 @@ pub mod api { #[codec(index = 7)] Token(runtime_types::sp_runtime::TokenError), #[codec(index = 8)] - Arithmetic(runtime_types::sp_runtime::ArithmeticError), + Arithmetic(runtime_types::sp_arithmetic::ArithmeticError), #[codec(index = 9)] Transactional(runtime_types::sp_runtime::TransactionalError), #[codec(index = 10)] @@ -19795,9 +19911,9 @@ pub mod api { let runtime_metadata_hash = client.metadata().metadata_hash(&PALLETS); if runtime_metadata_hash != [ - 91u8, 91u8, 248u8, 67u8, 48u8, 120u8, 50u8, 73u8, 56u8, 93u8, 91u8, 213u8, 55u8, - 126u8, 47u8, 180u8, 229u8, 179u8, 13u8, 47u8, 136u8, 60u8, 59u8, 198u8, 195u8, - 211u8, 133u8, 123u8, 48u8, 192u8, 137u8, 236u8, + 152u8, 75u8, 71u8, 172u8, 167u8, 231u8, 115u8, 198u8, 49u8, 81u8, 255u8, 71u8, + 255u8, 99u8, 32u8, 216u8, 101u8, 85u8, 22u8, 250u8, 69u8, 50u8, 197u8, 148u8, + 199u8, 153u8, 247u8, 146u8, 228u8, 136u8, 182u8, 127u8, ] { Err(::subxt::error::MetadataError::IncompatibleMetadata) diff --git a/benches/payout-stakers/Cargo.lock b/benches/payout-stakers/Cargo.lock index 4ff5cbf795..50da4193cd 100644 --- a/benches/payout-stakers/Cargo.lock +++ b/benches/payout-stakers/Cargo.lock @@ -74,7 +74,7 @@ dependencies = [ "primitives", "serde", "serde_json", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "subxt", "thiserror", ] @@ -971,7 +971,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bitflags", "frame-metadata", @@ -986,24 +986,24 @@ dependencies = [ "serde", "smallvec", "sp-api", - "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-core-hashing-proc-macro", "sp-inherents", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-staking", - "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "tt-call", ] [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "Inflector", "cfg-expr", @@ -1017,7 +1017,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -1029,7 +1029,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro2", "quote", @@ -2131,13 +2131,13 @@ checksum = "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee" [[package]] name = "pallet-contracts-primitives" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bitflags", "parity-scale-codec", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -2248,7 +2248,7 @@ dependencies = [ "parity-scale-codec", "primitives", "rand 0.8.5", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-keyring", "subxt", "tokio", @@ -2272,6 +2272,15 @@ dependencies = [ "crypto-mac 0.11.1", ] +[[package]] +name = "pbkdf2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" +dependencies = [ + "digest 0.10.6", +] + [[package]] name = "percent-encoding" version = "2.2.0" @@ -2347,11 +2356,11 @@ dependencies = [ "scale-info", "serde", "sp-api", - "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -3033,17 +3042,17 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "hash-db", "log", "parity-scale-codec", "sp-api-proc-macro", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-version", "thiserror", ] @@ -3051,7 +3060,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "blake2", "proc-macro-crate", @@ -3077,14 +3086,14 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -3106,15 +3115,14 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "integer-sqrt", "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "static_assertions", ] @@ -3159,7 +3167,7 @@ dependencies = [ "ss58-registry", "substrate-bip39", "thiserror", - "tiny-bip39", + "tiny-bip39 0.8.2", "wasmi", "zeroize", ] @@ -3167,13 +3175,12 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "array-bytes", "base58", "bitflags", "blake2", - "byteorder", "dyn-clonable", "ed25519-zebra", "futures", @@ -3184,28 +3191,26 @@ dependencies = [ "libsecp256k1", "log", "merlin", - "num-traits", "parity-scale-codec", "parking_lot", "primitive-types", - "rand 0.7.3", + "rand 0.8.5", "regex", "scale-info", "schnorrkel", "secp256k1 0.24.3", "secrecy", "serde", - "sp-core-hashing 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core-hashing 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "ss58-registry", "substrate-bip39", "thiserror", - "tiny-bip39", - "wasmi", + "tiny-bip39 1.0.0", "zeroize", ] @@ -3227,25 +3232,25 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "blake2", "byteorder", "digest 0.10.6", "sha2 0.10.6", "sha3", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "twox-hash", ] [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro2", "quote", - "sp-core-hashing 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core-hashing 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "syn", ] @@ -3263,7 +3268,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro2", "quote", @@ -3285,25 +3290,25 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "environmental", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "thiserror", ] @@ -3337,26 +3342,24 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bytes", + "ed25519", "ed25519-dalek", "futures", - "hash-db", "libsecp256k1", "log", "parity-scale-codec", - "parking_lot", "secp256k1 0.24.3", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-keystore 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-wasm-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-keystore 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "tracing", "tracing-core", ] @@ -3364,11 +3367,11 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "lazy_static", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "strum", ] @@ -3392,7 +3395,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "futures", @@ -3400,8 +3403,8 @@ dependencies = [ "parity-scale-codec", "parking_lot", "schnorrkel", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "thiserror", ] @@ -3419,7 +3422,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "backtrace", "lazy_static", @@ -3453,7 +3456,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "either", "hash256-std-hasher", @@ -3461,15 +3464,15 @@ dependencies = [ "log", "parity-scale-codec", "paste", - "rand 0.7.3", + "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -3494,18 +3497,18 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-wasm-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-wasm-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "static_assertions", ] @@ -3525,7 +3528,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "Inflector", "proc-macro-crate", @@ -3537,13 +3540,13 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -3572,23 +3575,21 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "hash-db", "log", - "num-traits", "parity-scale-codec", "parking_lot", - "rand 0.7.3", + "rand 0.8.5", "smallvec", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-panic-handler 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-panic-handler 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "thiserror", "tracing", - "trie-root", ] [[package]] @@ -3600,7 +3601,7 @@ checksum = "cf3fd4c1d304be101e6ebbafd3d4be9a37b320c970ef4e8df188b16873981c93" [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" [[package]] name = "sp-storage" @@ -3619,14 +3620,14 @@ dependencies = [ [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "impl-serde", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -3645,10 +3646,10 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "tracing", "tracing-core", "tracing-subscriber", @@ -3681,7 +3682,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "ahash", "hash-db", @@ -3693,8 +3694,8 @@ dependencies = [ "parity-scale-codec", "parking_lot", "scale-info", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "thiserror", "tracing", "trie-db", @@ -3704,7 +3705,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "impl-serde", "parity-scale-codec", @@ -3712,8 +3713,8 @@ dependencies = [ "scale-info", "serde", "sp-core-hashing-proc-macro", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-version-proc-macro", "thiserror", ] @@ -3721,7 +3722,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -3745,12 +3746,12 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "wasmi", "wasmtime", ] @@ -3775,17 +3776,16 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ - "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "serde", "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -4050,6 +4050,25 @@ dependencies = [ "zeroize", ] +[[package]] +name = "tiny-bip39" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62cc94d358b5a1e84a5cb9109f559aa3c4d634d2b1b4de3d0fa4adc7c78e2861" +dependencies = [ + "anyhow", + "hmac 0.12.1", + "once_cell", + "pbkdf2 0.11.0", + "rand 0.8.5", + "rustc-hash", + "sha2 0.10.6", + "thiserror", + "unicode-normalization", + "wasm-bindgen", + "zeroize", +] + [[package]] name = "tinyvec" version = "1.6.0" diff --git a/benches/payout-stakers/Cargo.toml b/benches/payout-stakers/Cargo.toml index 99575293db..d809f41421 100644 --- a/benches/payout-stakers/Cargo.toml +++ b/benches/payout-stakers/Cargo.toml @@ -14,8 +14,8 @@ log = "0.4" futures = "0.3.25" rand = "0.8.5" -sp-core = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36", features = ["full_crypto"] } -sp-keyring = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } +sp-core = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37", features = ["full_crypto"] } +sp-keyring = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } subxt = "0.25.0" tokio = { version = "1.21.2", features = ["full"] } diff --git a/bin/cliain/Cargo.lock b/bin/cliain/Cargo.lock index 41d619fa81..81f224109a 100644 --- a/bin/cliain/Cargo.lock +++ b/bin/cliain/Cargo.lock @@ -74,7 +74,7 @@ dependencies = [ "primitives", "serde", "serde_json", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "subxt", "thiserror", ] @@ -433,7 +433,7 @@ dependencies = [ "primitives", "serde", "serde_json", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "subxt", "tokio", ] @@ -1074,7 +1074,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support", "frame-system", @@ -1085,19 +1085,19 @@ dependencies = [ "scale-info", "serde", "sp-api", - "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -1108,18 +1108,18 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-election-provider-solution-type", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-npos-elections", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -1137,7 +1137,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bitflags", "frame-metadata", @@ -1152,24 +1152,24 @@ dependencies = [ "serde", "smallvec", "sp-api", - "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-core-hashing-proc-macro", "sp-inherents", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-staking", - "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "tt-call", ] [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "Inflector", "cfg-expr", @@ -1183,7 +1183,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -1195,7 +1195,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro2", "quote", @@ -1205,19 +1205,19 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-version", - "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -2382,7 +2382,7 @@ checksum = "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee" [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support", "frame-system", @@ -2390,26 +2390,26 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-authorship", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] name = "pallet-contracts-primitives" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bitflags", "parity-scale-codec", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support", "frame-system", @@ -2418,19 +2418,19 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-session", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -2442,17 +2442,17 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-benchmarking", "frame-support", @@ -2461,9 +2461,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-inherents", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-timestamp", ] @@ -2579,6 +2579,15 @@ dependencies = [ "crypto-mac 0.11.1", ] +[[package]] +name = "pbkdf2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" +dependencies = [ + "digest 0.10.6", +] + [[package]] name = "percent-encoding" version = "2.2.0" @@ -2654,11 +2663,11 @@ dependencies = [ "scale-info", "serde", "sp-api", - "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -3383,17 +3392,17 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "hash-db", "log", "parity-scale-codec", "sp-api-proc-macro", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-version", "thiserror", ] @@ -3401,7 +3410,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "blake2", "proc-macro-crate", @@ -3427,14 +3436,14 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -3456,28 +3465,27 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "integer-sqrt", "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "static_assertions", ] [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "parity-scale-codec", "sp-inherents", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -3521,7 +3529,7 @@ dependencies = [ "ss58-registry", "substrate-bip39", "thiserror", - "tiny-bip39", + "tiny-bip39 0.8.2", "wasmi", "zeroize", ] @@ -3529,13 +3537,12 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "array-bytes", "base58", "bitflags", "blake2", - "byteorder", "dyn-clonable", "ed25519-zebra", "futures", @@ -3546,28 +3553,26 @@ dependencies = [ "libsecp256k1", "log", "merlin", - "num-traits", "parity-scale-codec", "parking_lot", "primitive-types", - "rand 0.7.3", + "rand 0.8.5", "regex", "scale-info", "schnorrkel", "secp256k1 0.24.3", "secrecy", "serde", - "sp-core-hashing 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core-hashing 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "ss58-registry", "substrate-bip39", "thiserror", - "tiny-bip39", - "wasmi", + "tiny-bip39 1.0.0", "zeroize", ] @@ -3589,25 +3594,25 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "blake2", "byteorder", "digest 0.10.6", "sha2 0.10.6", "sha3", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "twox-hash", ] [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro2", "quote", - "sp-core-hashing 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core-hashing 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "syn", ] @@ -3625,7 +3630,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro2", "quote", @@ -3647,25 +3652,25 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "environmental", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "thiserror", ] @@ -3699,26 +3704,24 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bytes", + "ed25519", "ed25519-dalek", "futures", - "hash-db", "libsecp256k1", "log", "parity-scale-codec", - "parking_lot", "secp256k1 0.24.3", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-keystore 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-wasm-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-keystore 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "tracing", "tracing-core", ] @@ -3743,7 +3746,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "futures", @@ -3751,23 +3754,23 @@ dependencies = [ "parity-scale-codec", "parking_lot", "schnorrkel", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "thiserror", ] [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -3784,7 +3787,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "backtrace", "lazy_static", @@ -3818,7 +3821,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "either", "hash256-std-hasher", @@ -3826,15 +3829,15 @@ dependencies = [ "log", "parity-scale-codec", "paste", - "rand 0.7.3", + "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -3859,18 +3862,18 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-wasm-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-wasm-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "static_assertions", ] @@ -3890,7 +3893,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "Inflector", "proc-macro-crate", @@ -3902,27 +3905,27 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -3951,23 +3954,21 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "hash-db", "log", - "num-traits", "parity-scale-codec", "parking_lot", - "rand 0.7.3", + "rand 0.8.5", "smallvec", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-panic-handler 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-panic-handler 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "thiserror", "tracing", - "trie-root", ] [[package]] @@ -3979,7 +3980,7 @@ checksum = "cf3fd4c1d304be101e6ebbafd3d4be9a37b320c970ef4e8df188b16873981c93" [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" [[package]] name = "sp-storage" @@ -3998,29 +3999,28 @@ dependencies = [ [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "impl-serde 0.4.0", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "futures-timer", "log", "parity-scale-codec", - "sp-api", "sp-inherents", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "thiserror", ] @@ -4040,10 +4040,10 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "tracing", "tracing-core", "tracing-subscriber", @@ -4076,7 +4076,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "ahash", "hash-db", @@ -4088,8 +4088,8 @@ dependencies = [ "parity-scale-codec", "parking_lot", "scale-info", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "thiserror", "tracing", "trie-db", @@ -4099,7 +4099,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "impl-serde 0.4.0", "parity-scale-codec", @@ -4107,8 +4107,8 @@ dependencies = [ "scale-info", "serde", "sp-core-hashing-proc-macro", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-version-proc-macro", "thiserror", ] @@ -4116,7 +4116,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -4140,12 +4140,12 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "wasmi", "wasmtime", ] @@ -4170,17 +4170,16 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ - "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "serde", "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -4450,6 +4449,25 @@ dependencies = [ "zeroize", ] +[[package]] +name = "tiny-bip39" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62cc94d358b5a1e84a5cb9109f559aa3c4d634d2b1b4de3d0fa4adc7c78e2861" +dependencies = [ + "anyhow", + "hmac 0.12.1", + "once_cell", + "pbkdf2 0.11.0", + "rand 0.8.5", + "rustc-hash", + "sha2 0.10.6", + "thiserror", + "unicode-normalization", + "wasm-bindgen", + "zeroize", +] + [[package]] name = "tinyvec" version = "1.6.0" diff --git a/bin/cliain/Cargo.toml b/bin/cliain/Cargo.toml index d7cd482a39..f58e94ade1 100644 --- a/bin/cliain/Cargo.toml +++ b/bin/cliain/Cargo.toml @@ -16,11 +16,11 @@ env_logger = "0.8" hex = "0.4.3" ink_metadata = { version = "4.0.0-beta", features = ["derive"] } log = "0.4" -pallet-staking = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } +pallet-staking = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } primitives = { path = "../../primitives" } serde = { version = "1.0.137", features = ["derive"] } serde_json = "1.0.81" -sp-core = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36", features = ["full_crypto"] } +sp-core = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37", features = ["full_crypto"] } tokio = { version = "1.21.2", features = ["full"] } subxt = "0.25.0" diff --git a/bin/node/Cargo.toml b/bin/node/Cargo.toml index 4f41e5a385..42247d70bc 100644 --- a/bin/node/Cargo.toml +++ b/bin/node/Cargo.toml @@ -26,34 +26,34 @@ hex-literal = "0.3" libp2p = "0.49.0" thiserror = "1.0" -sp-application-crypto = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sc-block-builder = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sc-chain-spec = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36"} -sc-cli = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-core = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sc-executor = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sc-service = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sc-telemetry = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sc-keystore = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-keystore = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-inherents = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sc-basic-authorship = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sc-network = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sc-transaction-pool = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-transaction-pool = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sc-transaction-pool-api = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sc-consensus-aura = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-consensus-aura = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-consensus = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sc-consensus = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sc-client-api = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-runtime = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-timestamp = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-staking = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -try-runtime-cli = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36", optional = true } -sc-consensus-slots = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-arithmetic = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-io = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } +sp-application-crypto = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sc-block-builder = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sc-chain-spec = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37"} +sc-cli = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-core = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sc-executor = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sc-service = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sc-telemetry = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sc-keystore = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-keystore = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-inherents = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sc-basic-authorship = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sc-network = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sc-transaction-pool = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-transaction-pool = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sc-transaction-pool-api = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sc-consensus-aura = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-consensus-aura = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-consensus = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sc-consensus = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sc-client-api = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-runtime = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-timestamp = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-staking = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +try-runtime-cli = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37", optional = true } +sc-consensus-slots = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-arithmetic = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-io = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } aleph-runtime = { path = "../runtime" } finality-aleph = { path = "../../finality-aleph" } @@ -61,16 +61,16 @@ aleph-primitives = { package = "primitives", path = "../../primitives" } # These dependencies are used for the node's RPCs jsonrpsee = { version = "0.16.2", features = ["server"] } -sc-rpc = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-api = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sc-rpc-api = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-blockchain = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-block-builder = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -substrate-frame-rpc-system = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-transaction-payment-rpc = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } +sc-rpc = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-api = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sc-rpc-api = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-blockchain = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-block-builder = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +substrate-frame-rpc-system = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-transaction-payment-rpc = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } [build-dependencies] -substrate-build-script-utils = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } +substrate-build-script-utils = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } [features] default = [] diff --git a/bin/node/src/main.rs b/bin/node/src/main.rs index 77ac1e6edf..a6d00656f1 100644 --- a/bin/node/src/main.rs +++ b/bin/node/src/main.rs @@ -9,8 +9,8 @@ use sc_cli::{clap::Parser, CliConfiguration, DatabasePruningMode, PruningParams, use sc_network::config::Role; use sc_service::{Configuration, PartialComponents}; -fn default_state_pruning() -> DatabasePruningMode { - DatabasePruningMode::Archive +fn default_state_pruning() -> Option { + Some(DatabasePruningMode::Archive) } fn default_blocks_pruning() -> DatabasePruningMode { diff --git a/bin/node/src/service.rs b/bin/node/src/service.rs index 04f484fcfd..e31cef1f2c 100644 --- a/bin/node/src/service.rs +++ b/bin/node/src/service.rs @@ -516,8 +516,20 @@ impl finality_aleph::BlockchainBackend for BlockchainBackendImpl { } fn header( &self, - block_id: sp_api::BlockId, + block_id: BlockId, ) -> sp_blockchain::Result::Header>> { - self.backend.blockchain().header(block_id) + let hash = match block_id { + BlockId::Hash(h) => h, + BlockId::Number(n) => { + let maybe_hash = self.backend.blockchain().hash(n)?; + + if let Some(h) = maybe_hash { + h + } else { + return Ok(None); + } + } + }; + self.backend.blockchain().header(hash) } } diff --git a/bin/runtime/Cargo.toml b/bin/runtime/Cargo.toml index acfc86bc12..cc26dfdbe1 100644 --- a/bin/runtime/Cargo.toml +++ b/bin/runtime/Cargo.toml @@ -15,54 +15,54 @@ codec = { package = "parity-scale-codec", version = "3.0", default-features = fa scale-info = { version = "2.0", default-features = false, features = ["derive"] } serde = { version = "1.0", optional = true, features = ["derive"] } -frame-executive = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -frame-support = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -frame-system = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -frame-system-rpc-runtime-api = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -frame-try-runtime = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36", optional = true } +frame-executive = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +frame-support = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +frame-system = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +frame-system-rpc-runtime-api = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +frame-try-runtime = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37", optional = true } -pallet-aura = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-authorship = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-balances = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-contracts = { git = "https://github.com/Cardinal-Cryptography/substrate", default-features = false, branch = "aleph-v0.9.36" } -pallet-contracts-primitives = { git = "https://github.com/Cardinal-Cryptography/substrate", default-features = false, branch = "aleph-v0.9.36" } -pallet-identity = { git = "https://github.com/Cardinal-Cryptography/substrate", default-features = false, branch = "aleph-v0.9.36" } -pallet-randomness-collective-flip = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-session = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-scheduler = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-staking = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-sudo = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-timestamp = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-transaction-payment = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-transaction-payment-rpc-runtime-api = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-treasury = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-vesting = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-multisig = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-utility = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-nomination-pools = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-nomination-pools-runtime-api = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } +pallet-aura = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-authorship = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-balances = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-contracts = { git = "https://github.com/Cardinal-Cryptography/substrate", default-features = false, branch = "aleph-v0.9.37" } +pallet-contracts-primitives = { git = "https://github.com/Cardinal-Cryptography/substrate", default-features = false, branch = "aleph-v0.9.37" } +pallet-identity = { git = "https://github.com/Cardinal-Cryptography/substrate", default-features = false, branch = "aleph-v0.9.37" } +pallet-randomness-collective-flip = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-session = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-scheduler = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-staking = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-sudo = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-timestamp = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-transaction-payment = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-transaction-payment-rpc-runtime-api = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-treasury = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-vesting = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-multisig = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-utility = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-nomination-pools = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-nomination-pools-runtime-api = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } -sp-api = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-block-builder = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-consensus-aura = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-core = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-inherents = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-offchain = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-runtime = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-session = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-staking = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-std = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-transaction-pool = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-version = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } +sp-api = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-block-builder = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-consensus-aura = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-core = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-inherents = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-offchain = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-runtime = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-session = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-staking = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-std = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-transaction-pool = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-version = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } # NOTE: these two disabled features collide with std in wasm -sp-io = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } +sp-io = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } primitives = { path = "../../primitives", default-features = false } pallet-aleph = { path = "../../pallets/aleph", default-features = false } pallet-elections = { path = "../../pallets/elections", default-features = false } [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } +substrate-wasm-builder = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } [dev-dependencies] smallvec = { version = "1", default-features = false} diff --git a/bin/runtime/src/lib.rs b/bin/runtime/src/lib.rs index 54c5ebf2c5..45a468c0d1 100644 --- a/bin/runtime/src/lib.rs +++ b/bin/runtime/src/lib.rs @@ -29,6 +29,8 @@ use frame_support::{ PalletId, }; use frame_system::{EnsureRoot, EnsureSignedBy}; +#[cfg(feature = "try-runtime")] +use frame_try_runtime::UpgradeCheckSelect; pub use pallet_balances::Call as BalancesCall; pub use pallet_timestamp::Call as TimestampCall; use pallet_transaction_payment::{CurrencyAdapter, Multiplier, TargetedFeeAdjustment}; @@ -108,7 +110,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("aleph-node"), impl_name: create_runtime_str!("aleph-node"), authoring_version: 1, - spec_version: 54, + spec_version: 55, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 14, @@ -498,7 +500,8 @@ impl pallet_staking::WeightInfo for PayoutStakersDecreasedWeightInfo { force_apply_min_commission(), SubstrateStakingWeights, Weight - ) + ), + (set_min_commission(), SubstrateStakingWeights, Weight) ); } @@ -524,7 +527,6 @@ impl pallet_staking::Config for Runtime { type SessionsPerEra = SessionsPerEra; type BondingDuration = BondingDuration; type SlashDeferDuration = SlashDeferDuration; - type SlashCancelOrigin = EnsureRoot; type SessionInterface = Self; type EraPayout = UniformEraPayout; type NextNewSession = Session; @@ -538,6 +540,7 @@ impl pallet_staking::Config for Runtime { type OnStakerSlash = NominationPools; type HistoryDepth = HistoryDepth; type TargetList = pallet_staking::UseValidatorsMap; + type AdminOrigin = EnsureRoot; } parameter_types! { @@ -999,7 +1002,7 @@ impl_runtime_apis! { #[cfg(feature = "try-runtime")] impl frame_try_runtime::TryRuntime for Runtime { - fn on_runtime_upgrade(checks: bool) -> (Weight, Weight) { + fn on_runtime_upgrade(checks: UpgradeCheckSelect) -> (Weight, Weight) { let weight = Executive::try_runtime_upgrade(checks).unwrap(); (weight, BlockWeights::get().max_block) } diff --git a/contracts/rust-toolchain b/contracts/rust-toolchain index 902c74186f..6680fdbf12 100644 --- a/contracts/rust-toolchain +++ b/contracts/rust-toolchain @@ -1 +1 @@ -1.65.0 +1.65.0 \ No newline at end of file diff --git a/e2e-tests/Cargo.lock b/e2e-tests/Cargo.lock index e4f61b276e..72d4f37e35 100644 --- a/e2e-tests/Cargo.lock +++ b/e2e-tests/Cargo.lock @@ -79,8 +79,8 @@ dependencies = [ "rand 0.8.5", "rayon", "serde_json", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "synthetic-link", "tokio", ] @@ -103,7 +103,7 @@ dependencies = [ "primitives", "serde", "serde_json", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "subxt", "thiserror", ] @@ -1097,7 +1097,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support", "frame-system", @@ -1108,19 +1108,19 @@ dependencies = [ "scale-info", "serde", "sp-api", - "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -1131,18 +1131,18 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-election-provider-solution-type", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-npos-elections", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -1160,7 +1160,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bitflags", "frame-metadata", @@ -1175,24 +1175,24 @@ dependencies = [ "serde", "smallvec", "sp-api", - "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-core-hashing-proc-macro", "sp-inherents", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-staking", - "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "tt-call", ] [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "Inflector", "cfg-expr", @@ -1206,7 +1206,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -1218,7 +1218,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro2", "quote", @@ -1228,19 +1228,19 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-version", - "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -2521,7 +2521,7 @@ checksum = "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee" [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support", "frame-system", @@ -2529,14 +2529,14 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-authorship", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-benchmarking", "frame-support", @@ -2544,20 +2544,20 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] name = "pallet-contracts-primitives" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bitflags", "parity-scale-codec", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -2575,17 +2575,17 @@ dependencies = [ "parity-scale-codec", "primitives", "scale-info", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support", "frame-system", @@ -2594,19 +2594,19 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-session", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -2618,17 +2618,17 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-benchmarking", "frame-support", @@ -2637,9 +2637,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-inherents", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-timestamp", ] @@ -2648,7 +2648,7 @@ name = "pallets-support" version = "0.1.4" dependencies = [ "frame-support", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -2763,6 +2763,15 @@ dependencies = [ "crypto-mac 0.11.1", ] +[[package]] +name = "pbkdf2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" +dependencies = [ + "digest 0.10.6", +] + [[package]] name = "percent-encoding" version = "2.2.0" @@ -2844,11 +2853,11 @@ dependencies = [ "scale-info", "serde", "sp-api", - "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -3663,17 +3672,17 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "hash-db", "log", "parity-scale-codec", "sp-api-proc-macro", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-version", "thiserror", ] @@ -3681,7 +3690,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "blake2", "proc-macro-crate", @@ -3707,14 +3716,14 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -3736,28 +3745,27 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "integer-sqrt", "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "static_assertions", ] [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "parity-scale-codec", "sp-inherents", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -3801,7 +3809,7 @@ dependencies = [ "ss58-registry", "substrate-bip39", "thiserror", - "tiny-bip39", + "tiny-bip39 0.8.2", "wasmi", "zeroize", ] @@ -3809,13 +3817,12 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "array-bytes", "base58", "bitflags", "blake2", - "byteorder", "dyn-clonable", "ed25519-zebra", "futures", @@ -3826,28 +3833,26 @@ dependencies = [ "libsecp256k1", "log", "merlin", - "num-traits", "parity-scale-codec", "parking_lot", "primitive-types", - "rand 0.7.3", + "rand 0.8.5", "regex", "scale-info", "schnorrkel", "secp256k1 0.24.3", "secrecy", "serde", - "sp-core-hashing 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core-hashing 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "ss58-registry", "substrate-bip39", "thiserror", - "tiny-bip39", - "wasmi", + "tiny-bip39 1.0.0", "zeroize", ] @@ -3869,25 +3874,25 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "blake2", "byteorder", "digest 0.10.6", "sha2 0.10.6", "sha3", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "twox-hash", ] [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro2", "quote", - "sp-core-hashing 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core-hashing 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "syn", ] @@ -3905,7 +3910,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro2", "quote", @@ -3927,25 +3932,25 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "environmental", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "thiserror", ] @@ -3979,26 +3984,24 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bytes", + "ed25519", "ed25519-dalek", "futures", - "hash-db", "libsecp256k1", "log", "parity-scale-codec", - "parking_lot", "secp256k1 0.24.3", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-keystore 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-wasm-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-keystore 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "tracing", "tracing-core", ] @@ -4023,7 +4026,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "futures", @@ -4031,23 +4034,23 @@ dependencies = [ "parity-scale-codec", "parking_lot", "schnorrkel", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "thiserror", ] [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -4064,7 +4067,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "backtrace", "lazy_static", @@ -4098,7 +4101,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "either", "hash256-std-hasher", @@ -4106,15 +4109,15 @@ dependencies = [ "log", "parity-scale-codec", "paste", - "rand 0.7.3", + "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -4139,18 +4142,18 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-wasm-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-wasm-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "static_assertions", ] @@ -4170,7 +4173,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "Inflector", "proc-macro-crate", @@ -4182,27 +4185,27 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -4231,23 +4234,21 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "hash-db", "log", - "num-traits", "parity-scale-codec", "parking_lot", - "rand 0.7.3", + "rand 0.8.5", "smallvec", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-panic-handler 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-panic-handler 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "thiserror", "tracing", - "trie-root", ] [[package]] @@ -4259,7 +4260,7 @@ checksum = "cf3fd4c1d304be101e6ebbafd3d4be9a37b320c970ef4e8df188b16873981c93" [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" [[package]] name = "sp-storage" @@ -4278,29 +4279,28 @@ dependencies = [ [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "impl-serde", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "futures-timer", "log", "parity-scale-codec", - "sp-api", "sp-inherents", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "thiserror", ] @@ -4320,10 +4320,10 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "tracing", "tracing-core", "tracing-subscriber", @@ -4356,7 +4356,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "ahash", "hash-db", @@ -4368,8 +4368,8 @@ dependencies = [ "parity-scale-codec", "parking_lot", "scale-info", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "thiserror", "tracing", "trie-db", @@ -4379,7 +4379,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "impl-serde", "parity-scale-codec", @@ -4387,8 +4387,8 @@ dependencies = [ "scale-info", "serde", "sp-core-hashing-proc-macro", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-version-proc-macro", "thiserror", ] @@ -4396,7 +4396,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -4420,12 +4420,12 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "wasmi", "wasmtime", ] @@ -4450,17 +4450,16 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ - "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "serde", "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -4739,6 +4738,25 @@ dependencies = [ "zeroize", ] +[[package]] +name = "tiny-bip39" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62cc94d358b5a1e84a5cb9109f559aa3c4d634d2b1b4de3d0fa4adc7c78e2861" +dependencies = [ + "anyhow", + "hmac 0.12.1", + "once_cell", + "pbkdf2 0.11.0", + "rand 0.8.5", + "rustc-hash", + "sha2 0.10.6", + "thiserror", + "unicode-normalization", + "wasm-bindgen", + "zeroize", +] + [[package]] name = "tinyvec" version = "1.6.0" diff --git a/e2e-tests/Cargo.toml b/e2e-tests/Cargo.toml index 08d38dfcbd..f648375199 100644 --- a/e2e-tests/Cargo.toml +++ b/e2e-tests/Cargo.toml @@ -19,12 +19,12 @@ tokio = { version = "1.21.2", features = ["full"] } futures = "0.3.25" once_cell = "1.16" -sp-core = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36", default-features = false, features = ["full_crypto"] } -sp-runtime = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36", default-features = false } -frame-support = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36", default-features = false } -system = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36", package = "frame-system" } -pallet-staking = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36", default-features = false } -pallet-balances = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36", default-features = false } +sp-core = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37", default-features = false, features = ["full_crypto"] } +sp-runtime = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37", default-features = false } +frame-support = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37", default-features = false } +system = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37", package = "frame-system" } +pallet-staking = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37", default-features = false } +pallet-balances = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37", default-features = false } aleph_client = { path = "../aleph-client" } primitives = { path = "../primitives", features = ["short_session"], default-features = false } diff --git a/finality-aleph/Cargo.toml b/finality-aleph/Cargo.toml index 003fd6885f..c0fa50871a 100644 --- a/finality-aleph/Cargo.toml +++ b/finality-aleph/Cargo.toml @@ -35,29 +35,29 @@ serde = "1.0" tiny-bip39 = "1.0" tokio = { version = "1.17", features = [ "sync", "macros", "time", "rt-multi-thread" ] } -prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-keystore = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sc-network = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sc-network-common = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sc-telemetry = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sc-service = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-application-crypto = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-core = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-runtime = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-state-machine = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-trie = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sc-utils = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-api = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-blockchain = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sc-consensus = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-consensus = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sc-client-api = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-io = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } +prometheus-endpoint = { package = "substrate-prometheus-endpoint", git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-keystore = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sc-network = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sc-network-common = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sc-telemetry = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sc-service = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-application-crypto = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-core = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-runtime = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-state-machine = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-trie = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sc-utils = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-api = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-blockchain = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sc-consensus = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-consensus = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sc-client-api = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-io = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } [dev-dependencies] -substrate-test-runtime-client = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -substrate-test-runtime = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sc-block-builder = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } +substrate-test-runtime-client = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +substrate-test-runtime = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sc-block-builder = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } [features] only_legacy = [] diff --git a/finality-aleph/src/data_io/chain_info.rs b/finality-aleph/src/data_io/chain_info.rs index 2acfe63cfc..9bf7a87e90 100644 --- a/finality-aleph/src/data_io/chain_info.rs +++ b/finality-aleph/src/data_io/chain_info.rs @@ -1,11 +1,9 @@ use std::sync::Arc; +use log::error; use lru::LruCache; use sc_client_api::HeaderBackend; -use sp_runtime::{ - generic::BlockId, - traits::{Block as BlockT, Header as HeaderT, NumberFor, One}, -}; +use sp_runtime::traits::{Block as BlockT, Header as HeaderT, NumberFor, One}; use crate::{data_io::ChainInfoCacheConfig, BlockHashNum}; @@ -25,9 +23,7 @@ where C: HeaderBackend, { fn is_block_imported(&mut self, block: &BlockHashNum) -> bool { - let maybe_header = self - .header(BlockId::Hash(block.hash)) - .expect("client must answer a query"); + let maybe_header = self.header(block.hash).expect("client must answer a query"); if let Some(header) = maybe_header { // If the block number is incorrect, we treat as not imported. return *header.number() == block.num; @@ -40,10 +36,15 @@ where return Err(()); } - if let Some(header) = self - .header(BlockId::Number(num)) - .expect("client must respond") - { + let block_hash = match self.hash(num).ok().flatten() { + None => { + error!(target: "chain-info", "Could not get hash for block #{:?}", num); + return Err(()); + } + Some(h) => h, + }; + + if let Some(header) = self.header(block_hash).expect("client must respond") { Ok((header.hash(), num).into()) } else { Err(()) @@ -51,10 +52,7 @@ where } fn get_parent_hash(&mut self, block: &BlockHashNum) -> Result { - if let Some(header) = self - .header(BlockId::Hash(block.hash)) - .expect("client must respond") - { + if let Some(header) = self.header(block.hash).expect("client must respond") { Ok(*header.parent_hash()) } else { Err(()) diff --git a/finality-aleph/src/data_io/data_provider.rs b/finality-aleph/src/data_io/data_provider.rs index 2d7dcdbea0..e77d9f6891 100644 --- a/finality-aleph/src/data_io/data_provider.rs +++ b/finality-aleph/src/data_io/data_provider.rs @@ -6,7 +6,6 @@ use parking_lot::Mutex; use sc_client_api::HeaderBackend; use sp_consensus::SelectChain; use sp_runtime::{ - generic::BlockId, traits::{Block as BlockT, Header as HeaderT, NumberFor, One, Zero}, SaturatedConversion, }; @@ -32,7 +31,7 @@ where let mut curr_header = header; while curr_header.number() > &num { curr_header = client - .header(BlockId::Hash(*curr_header.parent_hash())) + .header(*curr_header.parent_hash()) .expect("client must respond") .expect("parent hash is known by the client"); } @@ -47,10 +46,7 @@ where if block.num.is_zero() { return None; } - if let Some(header) = client - .header(BlockId::Hash(block.hash)) - .expect("client must respond") - { + if let Some(header) = client.header(block.hash).expect("client must respond") { Some((*header.parent_hash(), block.num - >::one()).into()) } else { warn!(target: "aleph-data-store", "Trying to fetch the parent of an unknown block {:?}.", block); diff --git a/finality-aleph/src/network/gossip/service.rs b/finality-aleph/src/network/gossip/service.rs index 3b4b1d42a8..5f9640802d 100644 --- a/finality-aleph/src/network/gossip/service.rs +++ b/finality-aleph/src/network/gossip/service.rs @@ -12,6 +12,8 @@ use sc_service::SpawnTaskHandle; use sc_utils::mpsc::{tracing_unbounded, TracingUnboundedReceiver, TracingUnboundedSender}; use tokio::time; +const QUEUE_SIZE_WARNING: i64 = 1_000; + use crate::{ network::{ gossip::{Event, EventStream, Network, NetworkSender, Protocol, RawNetwork}, @@ -272,13 +274,19 @@ impl Service { trace!(target: "aleph-network", "StreamOpened event for peer {:?} and the protocol {:?}.", peer, protocol); let rx = match &protocol { Protocol::Authentication => { - let (tx, rx) = tracing_unbounded("mpsc_notification_stream_authentication"); + let (tx, rx) = tracing_unbounded( + "mpsc_notification_stream_authentication", + QUEUE_SIZE_WARNING, + ); self.authentication_connected_peers.insert(peer.clone()); self.authentication_peer_senders.insert(peer.clone(), tx); rx } Protocol::BlockSync => { - let (tx, rx) = tracing_unbounded("mpsc_notification_stream_block_sync"); + let (tx, rx) = tracing_unbounded( + "mpsc_notification_stream_block_sync", + QUEUE_SIZE_WARNING, + ); self.block_sync_connected_peers.insert(peer.clone()); self.block_sync_peer_senders.insert(peer.clone(), tx); rx diff --git a/finality-aleph/src/session_map.rs b/finality-aleph/src/session_map.rs index c6a8afc8ae..6569dbe0d6 100644 --- a/finality-aleph/src/session_map.rs +++ b/finality-aleph/src/session_map.rs @@ -466,7 +466,7 @@ mod tests { #[tokio::test(flavor = "multi_thread")] async fn genesis_catch_up() { - let (_sender, receiver) = tracing_unbounded("test"); + let (_sender, receiver) = tracing_unbounded("test", 1_000); let mut mock_provider = MockProvider::new(); let mock_notificator = MockNotificator::new(receiver); @@ -493,7 +493,7 @@ mod tests { #[tokio::test(flavor = "multi_thread")] async fn updates_session_map_on_notifications() { let mut client = Arc::new(TestClientBuilder::new().build()); - let (sender, receiver) = tracing_unbounded("test"); + let (sender, receiver) = tracing_unbounded("test", 1_000); let mut mock_provider = MockProvider::new(); let mock_notificator = MockNotificator::new(receiver); @@ -533,7 +533,7 @@ mod tests { #[tokio::test(flavor = "multi_thread")] async fn catch_up() { - let (_sender, receiver) = tracing_unbounded("test"); + let (_sender, receiver) = tracing_unbounded("test", 1_000); let mut mock_provider = MockProvider::new(); let mut mock_notificator = MockNotificator::new(receiver); @@ -571,7 +571,7 @@ mod tests { #[tokio::test(flavor = "multi_thread")] async fn catch_up_old_sessions() { - let (_sender, receiver) = tracing_unbounded("test"); + let (_sender, receiver) = tracing_unbounded("test", 1_000); let mut mock_provider = MockProvider::new(); let mut mock_notificator = MockNotificator::new(receiver); @@ -609,7 +609,7 @@ mod tests { #[tokio::test(flavor = "multi_thread")] async fn deals_with_database_pruned_authorities() { - let (_sender, receiver) = tracing_unbounded("test"); + let (_sender, receiver) = tracing_unbounded("test", 1_000); let mut mock_provider = MockProvider::new(); let mut mock_notificator = MockNotificator::new(receiver); @@ -646,7 +646,7 @@ mod tests { #[tokio::test(flavor = "multi_thread")] async fn prunes_old_sessions() { let mut client = Arc::new(TestClientBuilder::new().build()); - let (sender, receiver) = tracing_unbounded("test"); + let (sender, receiver) = tracing_unbounded("test", 1_000); let mut mock_provider = MockProvider::new(); let mock_notificator = MockNotificator::new(receiver); diff --git a/finality-aleph/src/sync/substrate/chain_status.rs b/finality-aleph/src/sync/substrate/chain_status.rs index 57dc5deaab..b669837076 100644 --- a/finality-aleph/src/sync/substrate/chain_status.rs +++ b/finality-aleph/src/sync/substrate/chain_status.rs @@ -6,10 +6,7 @@ use std::{ use aleph_primitives::{BlockNumber, ALEPH_ENGINE_ID}; use log::warn; use sp_blockchain::{Backend, Error as ClientError}; -use sp_runtime::{ - generic::BlockId as SubstrateBlockId, - traits::{Block as BlockT, Header as SubstrateHeader}, -}; +use sp_runtime::traits::{Block as BlockT, Header as SubstrateHeader}; use crate::{ justification::backwards_compatible_decode, @@ -81,8 +78,7 @@ where } fn header(&self, hash: B::Hash) -> Result, ClientError> { - let id = SubstrateBlockId::::Hash(hash); - self.client.header(id) + self.client.header(hash) } fn justification(&self, hash: B::Hash) -> Result, ClientError> { diff --git a/finality-aleph/src/testing/client_chain_builder.rs b/finality-aleph/src/testing/client_chain_builder.rs index 9444fe3b9e..36a36a4517 100644 --- a/finality-aleph/src/testing/client_chain_builder.rs +++ b/finality-aleph/src/testing/client_chain_builder.rs @@ -26,7 +26,7 @@ pub struct ClientChainBuilder { fn assert_no_blocks_except_genesis(client: &TestClient) { assert!( - client.header(&BlockId::Number(1)).unwrap().is_none(), + client.hash(1).unwrap().is_none(), "Client is aware of some blocks beyond genesis" ); } @@ -117,7 +117,7 @@ impl ClientChainBuilder { pub fn get_header_at(&self, num: u64) -> Header { self.client_builder - .header(&BlockId::Number(num)) + .header(self.client_builder.hash(num).unwrap().unwrap()) .unwrap() .unwrap() } diff --git a/flooder/Cargo.lock b/flooder/Cargo.lock index 7f7bc937ef..979759bc9e 100644 --- a/flooder/Cargo.lock +++ b/flooder/Cargo.lock @@ -74,7 +74,7 @@ dependencies = [ "primitives", "serde", "serde_json", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "subxt", "thiserror", ] @@ -1021,8 +1021,8 @@ dependencies = [ "mio 0.6.23", "parity-scale-codec", "serde_json", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "subxt", "tokio", "ws", @@ -1074,7 +1074,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bitflags", "frame-metadata", @@ -1089,24 +1089,24 @@ dependencies = [ "serde", "smallvec", "sp-api", - "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-core-hashing-proc-macro", "sp-inherents", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-staking", - "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "tt-call", ] [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "Inflector", "cfg-expr", @@ -1120,7 +1120,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -1132,7 +1132,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro2", "quote", @@ -2382,13 +2382,13 @@ checksum = "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee" [[package]] name = "pallet-contracts-primitives" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bitflags", "parity-scale-codec", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -2503,6 +2503,15 @@ dependencies = [ "crypto-mac 0.11.1", ] +[[package]] +name = "pbkdf2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" +dependencies = [ + "digest 0.10.6", +] + [[package]] name = "percent-encoding" version = "2.2.0" @@ -2584,11 +2593,11 @@ dependencies = [ "scale-info", "serde", "sp-api", - "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -3282,17 +3291,17 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "hash-db", "log", "parity-scale-codec", "sp-api-proc-macro", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-version", "thiserror", ] @@ -3300,7 +3309,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "blake2", "proc-macro-crate", @@ -3326,14 +3335,14 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -3355,15 +3364,14 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "integer-sqrt", "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "static_assertions", ] @@ -3408,7 +3416,7 @@ dependencies = [ "ss58-registry", "substrate-bip39", "thiserror", - "tiny-bip39", + "tiny-bip39 0.8.2", "wasmi", "zeroize", ] @@ -3416,13 +3424,12 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "array-bytes", "base58", "bitflags", "blake2", - "byteorder", "dyn-clonable", "ed25519-zebra", "futures", @@ -3433,28 +3440,26 @@ dependencies = [ "libsecp256k1", "log", "merlin", - "num-traits", "parity-scale-codec", "parking_lot", "primitive-types", - "rand 0.7.3", + "rand 0.8.5", "regex", "scale-info", "schnorrkel", "secp256k1 0.24.3", "secrecy", "serde", - "sp-core-hashing 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core-hashing 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "ss58-registry", "substrate-bip39", "thiserror", - "tiny-bip39", - "wasmi", + "tiny-bip39 1.0.0", "zeroize", ] @@ -3476,25 +3481,25 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "blake2", "byteorder", "digest 0.10.6", "sha2 0.10.6", "sha3", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "twox-hash", ] [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro2", "quote", - "sp-core-hashing 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core-hashing 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "syn", ] @@ -3512,7 +3517,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro2", "quote", @@ -3534,25 +3539,25 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "environmental", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "thiserror", ] @@ -3586,26 +3591,24 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bytes 1.4.0", + "ed25519", "ed25519-dalek", "futures", - "hash-db", "libsecp256k1", "log", "parity-scale-codec", - "parking_lot", "secp256k1 0.24.3", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-keystore 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-wasm-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-keystore 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-state-machine 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "tracing", "tracing-core", ] @@ -3630,7 +3633,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "futures", @@ -3638,8 +3641,8 @@ dependencies = [ "parity-scale-codec", "parking_lot", "schnorrkel", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "thiserror", ] @@ -3657,7 +3660,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "backtrace", "lazy_static", @@ -3691,7 +3694,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "either", "hash256-std-hasher", @@ -3699,15 +3702,15 @@ dependencies = [ "log", "parity-scale-codec", "paste", - "rand 0.7.3", + "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-application-crypto 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-io 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-weights 4.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -3732,18 +3735,18 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bytes 1.4.0", "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-wasm-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-storage 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-tracing 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-wasm-interface 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "static_assertions", ] @@ -3763,7 +3766,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "Inflector", "proc-macro-crate", @@ -3775,13 +3778,13 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -3810,23 +3813,21 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "hash-db", "log", - "num-traits", "parity-scale-codec", "parking_lot", - "rand 0.7.3", + "rand 0.8.5", "smallvec", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-panic-handler 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-externalities 0.13.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-panic-handler 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-trie 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "thiserror", "tracing", - "trie-root", ] [[package]] @@ -3838,7 +3839,7 @@ checksum = "cf3fd4c1d304be101e6ebbafd3d4be9a37b320c970ef4e8df188b16873981c93" [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" [[package]] name = "sp-storage" @@ -3857,14 +3858,14 @@ dependencies = [ [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "impl-serde", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -3883,10 +3884,10 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "tracing", "tracing-core", "tracing-subscriber", @@ -3919,7 +3920,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "ahash", "hash-db", @@ -3931,8 +3932,8 @@ dependencies = [ "parity-scale-codec", "parking_lot", "scale-info", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "thiserror", "tracing", "trie-db", @@ -3942,7 +3943,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "impl-serde", "parity-scale-codec", @@ -3950,8 +3951,8 @@ dependencies = [ "scale-info", "serde", "sp-core-hashing-proc-macro", - "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-runtime 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "sp-version-proc-macro", "thiserror", ] @@ -3959,7 +3960,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -3983,12 +3984,12 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", "wasmi", "wasmtime", ] @@ -4013,17 +4014,16 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ - "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "serde", "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", - "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36)", + "sp-arithmetic 6.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-core 7.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-debug-derive 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37)", ] [[package]] @@ -4277,6 +4277,25 @@ dependencies = [ "zeroize", ] +[[package]] +name = "tiny-bip39" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62cc94d358b5a1e84a5cb9109f559aa3c4d634d2b1b4de3d0fa4adc7c78e2861" +dependencies = [ + "anyhow", + "hmac 0.12.1", + "once_cell", + "pbkdf2 0.11.0", + "rand 0.8.5", + "rustc-hash", + "sha2 0.10.6", + "thiserror", + "unicode-normalization", + "wasm-bindgen", + "zeroize", +] + [[package]] name = "tinyvec" version = "1.6.0" diff --git a/flooder/Cargo.toml b/flooder/Cargo.toml index 369c9ed8ba..27c79a824d 100644 --- a/flooder/Cargo.toml +++ b/flooder/Cargo.toml @@ -6,8 +6,8 @@ edition = "2021" license = "Apache 2.0" [dependencies] -sp-core = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36", features = ["full_crypto"] } -sp-runtime = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } +sp-core = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37", features = ["full_crypto"] } +sp-runtime = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } # other dependencies serde_json = { version = "1.0" } diff --git a/fork-off/Cargo.lock b/fork-off/Cargo.lock index 2ab9d77b82..bd8d377f12 100644 --- a/fork-off/Cargo.lock +++ b/fork-off/Cargo.lock @@ -977,7 +977,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support", "frame-system", @@ -1012,7 +1012,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bitflags", "frame-metadata", @@ -1044,7 +1044,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "Inflector", "cfg-expr", @@ -1058,7 +1058,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.3.0", @@ -1070,7 +1070,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro2", "quote", @@ -1080,7 +1080,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-support", "log 0.4.17", @@ -1246,10 +1246,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" dependencies = [ "cfg-if 1.0.0", - "js-sys", "libc", "wasi 0.9.0+wasi-snapshot-preview1", - "wasm-bindgen", ] [[package]] @@ -2278,7 +2276,7 @@ checksum = "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee" [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "frame-benchmarking", "frame-support", @@ -2405,20 +2403,20 @@ checksum = "d01a5bd0424d00070b0098dd17ebca6f961a959dead1dbcbbbc1d1cd8d3deeba" [[package]] name = "pbkdf2" -version = "0.4.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "216eaa586a190f0a738f2f918511eecfa90f13295abec0e457cdebcceda80cbd" +checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa" dependencies = [ - "crypto-mac 0.8.0", + "crypto-mac 0.11.1", ] [[package]] name = "pbkdf2" -version = "0.8.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa" +checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" dependencies = [ - "crypto-mac 0.11.1", + "digest 0.10.6", ] [[package]] @@ -2570,7 +2568,7 @@ dependencies = [ "rand_isaac", "rand_jitter", "rand_os", - "rand_pcg 0.1.2", + "rand_pcg", "rand_xorshift", "winapi 0.3.9", ] @@ -2586,7 +2584,6 @@ dependencies = [ "rand_chacha 0.2.2", "rand_core 0.5.1", "rand_hc 0.2.0", - "rand_pcg 0.2.1", ] [[package]] @@ -2735,15 +2732,6 @@ dependencies = [ "rand_core 0.4.2", ] -[[package]] -name = "rand_pcg" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429" -dependencies = [ - "rand_core 0.5.1", -] - [[package]] name = "rand_xorshift" version = "0.1.1" @@ -3279,7 +3267,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "hash-db", "log 0.4.17", @@ -3297,7 +3285,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "blake2", "proc-macro-crate 1.3.0", @@ -3309,7 +3297,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "scale-info", @@ -3322,14 +3310,13 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "integer-sqrt", "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-debug-derive", "sp-std", "static_assertions", ] @@ -3337,13 +3324,12 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "array-bytes", "base58", "bitflags", "blake2", - "byteorder", "dyn-clonable", "ed25519-zebra", "futures 0.3.26", @@ -3354,11 +3340,10 @@ dependencies = [ "libsecp256k1", "log 0.4.17", "merlin", - "num-traits", "parity-scale-codec", "parking_lot 0.12.1", "primitive-types", - "rand 0.7.3", + "rand 0.8.5", "regex", "scale-info", "schnorrkel", @@ -3375,14 +3360,13 @@ dependencies = [ "substrate-bip39", "thiserror", "tiny-bip39", - "wasmi", "zeroize", ] [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "blake2", "byteorder", @@ -3396,7 +3380,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro2", "quote", @@ -3407,7 +3391,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "proc-macro2", "quote", @@ -3417,7 +3401,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "environmental", "parity-scale-codec", @@ -3428,7 +3412,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -3442,16 +3426,15 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bytes 1.4.0", + "ed25519", "ed25519-dalek", "futures 0.3.26", - "hash-db", "libsecp256k1", "log 0.4.17", "parity-scale-codec", - "parking_lot 0.12.1", "secp256k1", "sp-core", "sp-externalities", @@ -3461,7 +3444,6 @@ dependencies = [ "sp-std", "sp-tracing", "sp-trie", - "sp-wasm-interface", "tracing", "tracing-core", ] @@ -3469,7 +3451,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "async-trait", "futures 0.3.26", @@ -3485,7 +3467,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "backtrace", "lazy_static", @@ -3495,7 +3477,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "either", "hash256-std-hasher", @@ -3503,7 +3485,7 @@ dependencies = [ "log 0.4.17", "parity-scale-codec", "paste", - "rand 0.7.3", + "rand 0.8.5", "scale-info", "serde", "sp-application-crypto", @@ -3517,7 +3499,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "bytes 1.4.0", "impl-trait-for-tuples", @@ -3535,7 +3517,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "Inflector", "proc-macro-crate 1.3.0", @@ -3547,7 +3529,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "scale-info", @@ -3559,14 +3541,13 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "hash-db", "log 0.4.17", - "num-traits", "parity-scale-codec", "parking_lot 0.12.1", - "rand 0.7.3", + "rand 0.8.5", "smallvec 1.10.0", "sp-core", "sp-externalities", @@ -3575,18 +3556,17 @@ dependencies = [ "sp-trie", "thiserror", "tracing", - "trie-root", ] [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "impl-serde", "parity-scale-codec", @@ -3599,7 +3579,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "sp-std", @@ -3611,7 +3591,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "ahash", "hash-db", @@ -3634,7 +3614,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "impl-serde", "parity-scale-codec", @@ -3651,7 +3631,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -3662,7 +3642,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ "impl-trait-for-tuples", "log 0.4.17", @@ -3675,9 +3655,8 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.36#cc0a830d71091352cbe500f32df44a0d2b65c651" +source = "git+https://github.com/Cardinal-Cryptography/substrate.git?branch=aleph-v0.9.37#e6386919c752d40950d275a463577bf967bd7878" dependencies = [ - "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "serde", @@ -3870,17 +3849,17 @@ dependencies = [ [[package]] name = "tiny-bip39" -version = "0.8.2" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffc59cb9dfc85bb312c3a78fd6aa8a8582e310b0fa885d5bb877f6dcc601839d" +checksum = "62cc94d358b5a1e84a5cb9109f559aa3c4d634d2b1b4de3d0fa4adc7c78e2861" dependencies = [ "anyhow", - "hmac 0.8.1", + "hmac 0.12.1", "once_cell", - "pbkdf2 0.4.0", - "rand 0.7.3", + "pbkdf2 0.11.0", + "rand 0.8.5", "rustc-hash", - "sha2 0.9.9", + "sha2 0.10.6", "thiserror", "unicode-normalization", "wasm-bindgen", diff --git a/fork-off/Cargo.toml b/fork-off/Cargo.toml index 292e497ec0..80c1709713 100644 --- a/fork-off/Cargo.toml +++ b/fork-off/Cargo.toml @@ -19,10 +19,10 @@ serde = "1" serde_json = "1" tokio = { version = "1.0", features = ["full"] } -sp-core = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -frame-support = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -frame-system = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-balances = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } +sp-core = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +frame-support = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +frame-system = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-balances = { git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } jsonrpc-core = "18.0" jsonrpc-core-client = { version = "18.0", features = ["ws"] } jsonrpc-derive = "18.0" diff --git a/pallets/aleph/Cargo.toml b/pallets/aleph/Cargo.toml index 388f91ba9d..6bb95daf03 100644 --- a/pallets/aleph/Cargo.toml +++ b/pallets/aleph/Cargo.toml @@ -10,20 +10,20 @@ codec = { package = "parity-scale-codec", version = "3.0", default-features = fa serde = "1.0" scale-info = { version = "2.0", default-features = false, features = ["derive"] } -frame-support = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -frame-system = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-balances = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-session = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-io = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-std = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } +frame-support = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +frame-system = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-balances = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-session = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-io = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-std = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } pallets-support = { path = "../support", default-features = false } primitives = { path = "../../primitives", default-features = false } [dev-dependencies] -pallet-timestamp = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-runtime = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-core = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } +pallet-timestamp = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-runtime = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-core = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } [features] default = ["std"] diff --git a/pallets/elections/Cargo.toml b/pallets/elections/Cargo.toml index 3a3bbaf2d5..ad64c50d36 100644 --- a/pallets/elections/Cargo.toml +++ b/pallets/elections/Cargo.toml @@ -8,18 +8,18 @@ license = "Apache 2.0" codec = { package = "parity-scale-codec", version = "3.0", default-features = false, features = ["derive"] } scale-info = { version = "2.0", default-features = false, features = ["derive"] } -frame-support = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -frame-system = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -frame-election-provider-support = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-authorship = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-balances = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-session = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -pallet-staking = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-core = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-io = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-staking = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-std = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-runtime = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } +frame-support = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +frame-system = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +frame-election-provider-support = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-authorship = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-balances = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-session = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +pallet-staking = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-core = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-io = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-staking = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-std = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-runtime = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } pallets-support = { path = "../support", default-features = false } primitives = { path = "../../primitives", default-features = false } diff --git a/pallets/support/Cargo.toml b/pallets/support/Cargo.toml index b2fe3bdac4..b855cb5386 100644 --- a/pallets/support/Cargo.toml +++ b/pallets/support/Cargo.toml @@ -4,8 +4,8 @@ version = "0.1.4" edition = "2021" [dependencies] -frame-support = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-std = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } +frame-support = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-std = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } [features] default = ["std"] diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index 03186f9692..c4f76d2359 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -10,12 +10,12 @@ codec = { package = "parity-scale-codec", version = "3.0", default-features = fa serde = { version = "1.0", features = ["derive"] } scale-info = { version = "2.0", default-features = false, features = ["derive"] } -sp-api = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-application-crypto = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-core = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-runtime = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-std = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } -sp-staking = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.36" } +sp-api = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-application-crypto = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-core = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-runtime = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-std = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } +sp-staking = { default-features = false, git = "https://github.com/Cardinal-Cryptography/substrate.git", branch = "aleph-v0.9.37" } [features] default = ["std"]