From 06873f16c4a7ab884e4759d98b7b86c712e0c0ae Mon Sep 17 00:00:00 2001 From: "B. Yap" <2826165+b-yap@users.noreply.github.com> Date: Thu, 1 Jun 2023 14:15:31 +0200 Subject: [PATCH] upgrade to polkadot-v0.9.40 (#350) * upgrade to polkadot-v0.9.40 * https://github.com/pendulum-chain/spacewalk/actions/runs/5076404970/jobs/9118542926?pr=350#step:9:1563 and remove extra comments of grandpa * `Void` * https://github.com/pendulum-chain/spacewalk/pull/350#discussion_r1206408348, https://github.com/pendulum-chain/spacewalk/pull/350#discussion_r1206417445, https://github.com/pendulum-chain/spacewalk/pull/350#discussion_r1206419298 * fix broken test case `test_check_slot_position` * extra cleanup * clippy cleanup * clippy cleanup * clippy cleanup --- .github/workflows/ci-dev.yml | 3 + .github/workflows/ci-main.yml | 3 + Cargo.lock | 11577 ---------------- Cargo.toml | 228 +- clients/runtime/Cargo.toml | 14 +- clients/runtime/client/Cargo.toml | 8 +- clients/runtime/client/src/lib.rs | 2 +- clients/stellar-relay-lib/Cargo.toml | 2 +- clients/vault/Cargo.toml | 14 +- .../src/oracle/collector/proof_builder.rs | 10 +- clients/wallet/Cargo.toml | 2 +- pallets/currency/Cargo.toml | 26 +- pallets/fee/Cargo.toml | 28 +- pallets/fee/src/default_weights.rs | 219 +- pallets/fee/src/mock.rs | 2 +- pallets/issue/Cargo.toml | 34 +- pallets/issue/rpc/Cargo.toml | 6 +- pallets/issue/rpc/runtime-api/Cargo.toml | 6 +- pallets/issue/rpc/src/lib.rs | 10 +- pallets/issue/src/benchmarking.rs | 17 +- pallets/issue/src/default_weights.rs | 270 +- pallets/issue/src/mock.rs | 12 +- pallets/nomination/Cargo.toml | 32 +- pallets/nomination/src/default_weights.rs | 358 +- pallets/nomination/src/mock.rs | 8 +- pallets/oracle/Cargo.toml | 32 +- pallets/oracle/rpc/Cargo.toml | 6 +- pallets/oracle/rpc/runtime-api/Cargo.toml | 6 +- pallets/oracle/rpc/src/lib.rs | 9 +- pallets/oracle/src/benchmarking.rs | 2 +- pallets/oracle/src/default_weights.rs | 96 +- pallets/oracle/src/mock.rs | 2 +- pallets/redeem/Cargo.toml | 34 +- pallets/redeem/rpc/Cargo.toml | 6 +- pallets/redeem/rpc/runtime-api/Cargo.toml | 6 +- pallets/redeem/rpc/src/lib.rs | 10 +- pallets/redeem/src/benchmarking.rs | 2 +- pallets/redeem/src/default_weights.rs | 510 +- pallets/redeem/src/mock.rs | 10 +- pallets/replace/Cargo.toml | 34 +- pallets/replace/rpc/Cargo.toml | 6 +- pallets/replace/rpc/runtime-api/Cargo.toml | 6 +- pallets/replace/rpc/src/lib.rs | 10 +- pallets/replace/src/benchmarking.rs | 2 +- pallets/replace/src/default_weights.rs | 381 +- pallets/replace/src/mock.rs | 12 +- pallets/reward/Cargo.toml | 20 +- pallets/security/Cargo.toml | 12 +- pallets/security/src/default_weights.rs | 16 +- pallets/staking/Cargo.toml | 24 +- pallets/stellar-relay/Cargo.toml | 20 +- pallets/stellar-relay/src/default_weights.rs | 73 +- pallets/stellar-relay/src/lib.rs | 1 - pallets/stellar-relay/src/mock.rs | 2 +- pallets/vault-registry/Cargo.toml | 30 +- pallets/vault-registry/rpc/Cargo.toml | 6 +- .../vault-registry/rpc/runtime-api/Cargo.toml | 6 +- pallets/vault-registry/rpc/src/lib.rs | 50 +- pallets/vault-registry/src/default_weights.rs | 573 +- pallets/vault-registry/src/lib.rs | 1 - pallets/vault-registry/src/mock.rs | 6 +- primitives/Cargo.toml | 10 +- rpc/Cargo.toml | 22 +- testchain/node/Cargo.toml | 70 +- testchain/node/src/chain_spec.rs | 4 +- testchain/node/src/cli.rs | 1 + testchain/node/src/command.rs | 2 +- testchain/node/src/service.rs | 48 +- testchain/runtime/Cargo.toml | 66 +- testchain/runtime/src/lib.rs | 45 +- 70 files changed, 1761 insertions(+), 13420 deletions(-) delete mode 100644 Cargo.lock diff --git a/.github/workflows/ci-dev.yml b/.github/workflows/ci-dev.yml index 2db32a870..e4fc317c2 100644 --- a/.github/workflows/ci-dev.yml +++ b/.github/workflows/ci-dev.yml @@ -31,6 +31,9 @@ jobs: run: | sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET + sudo rm -rf /opt/ghc + sudo rm -rf /usr/local/share/boost + sudo rm -rf "$AGENT_TOOLSDIRECTORY" - uses: actions/checkout@v2 - name: Install sccache (ubuntu-latest) diff --git a/.github/workflows/ci-main.yml b/.github/workflows/ci-main.yml index 99257445e..dbf5ae633 100644 --- a/.github/workflows/ci-main.yml +++ b/.github/workflows/ci-main.yml @@ -24,6 +24,9 @@ jobs: run: | sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET + sudo rm -rf /opt/ghc + sudo rm -rf /usr/local/share/boost + sudo rm -rf "$AGENT_TOOLSDIRECTORY" - uses: actions/checkout@v2 - name: Install package (ubuntu-latest) diff --git a/Cargo.lock b/Cargo.lock deleted file mode 100644 index 5b5bf009d..000000000 --- a/Cargo.lock +++ /dev/null @@ -1,11577 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "Inflector" -version = "0.11.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3" -dependencies = [ - "lazy_static", - "regex", -] - -[[package]] -name = "addr2line" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b" -dependencies = [ - "gimli 0.26.2", -] - -[[package]] -name = "addr2line" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97" -dependencies = [ - "gimli 0.27.0", -] - -[[package]] -name = "adler" -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" -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]] -name = "aes" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e8b47f52ea9bae42228d07ec09eb676433d7c4ed1ebdf0f1d1c29ed446f1ab8" -dependencies = [ - "cfg-if 1.0.0", - "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 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 = "ahash" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" -dependencies = [ - "getrandom 0.2.8", - "once_cell", - "version_check", -] - -[[package]] -name = "aho-corasick" -version = "0.7.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac" -dependencies = [ - "memchr", -] - -[[package]] -name = "android_system_properties" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" -dependencies = [ - "libc", -] - -[[package]] -name = "ansi_term" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" -dependencies = [ - "winapi", -] - -[[package]] -name = "anyhow" -version = "1.0.68" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cb2f989d18dd141ab8ae82f64d1a8cdd37e0840f73a406896cf5e99502fab61" - -[[package]] -name = "approx" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6" -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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" - -[[package]] -name = "arrayref" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544" - -[[package]] -name = "arrayvec" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" - -[[package]] -name = "arrayvec" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" - -[[package]] -name = "asn1-rs" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30ff05a702273012438132f449575dbc804e27b2f3cbe3069aa237d26c98fa33" -dependencies = [ - "asn1-rs-derive 0.1.0", - "asn1-rs-impl", - "displaydoc", - "nom", - "num-traits", - "rusticata-macros", - "thiserror", - "time 0.3.20", -] - -[[package]] -name = "asn1-rs" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf6690c370453db30743b373a60ba498fc0d6d83b11f4abfd87a84a075db5dd4" -dependencies = [ - "asn1-rs-derive 0.4.0", - "asn1-rs-impl", - "displaydoc", - "nom", - "num-traits", - "rusticata-macros", - "thiserror", - "time 0.3.20", -] - -[[package]] -name = "asn1-rs-derive" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db8b7511298d5b7784b40b092d9e9dcd3a627a5707e4b5e507931ab0d44eeebf" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "synstructure", -] - -[[package]] -name = "asn1-rs-derive" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "726535892e8eae7e70657b4c8ea93d26b8553afb1ce617caee529ef96d7dee6c" -dependencies = [ - "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 = "assert_matches" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" - -[[package]] -name = "async-io" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c374dda1ed3e7d8f0d9ba58715f924862c63eae6849c92d3a18e7fbde9e2794" -dependencies = [ - "async-lock", - "autocfg", - "concurrent-queue", - "futures-lite", - "libc", - "log", - "parking", - "polling", - "slab", - "socket2", - "waker-fn", - "windows-sys 0.42.0", -] - -[[package]] -name = "async-lock" -version = "2.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8101efe8695a6c17e02911402145357e718ac92d3ff88ae8419e84b1707b685" -dependencies = [ - "event-listener", - "futures-lite", -] - -[[package]] -name = "async-trait" -version = "0.1.60" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d1d8ab452a3936018a687b20e6f7cf5363d713b732b8884001317b0e48aa3" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "asynchronous-codec" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06a0daa378f5fd10634e44b0a29b2a87b890657658e072a30d6f26e57ddee182" -dependencies = [ - "bytes", - "futures-sink", - "futures-util", - "memchr", - "pin-project-lite 0.2.9", -] - -[[package]] -name = "atomic-waker" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "065374052e7df7ee4047b1160cca5e1467a12351a40b3da123c870ba0b8eda2a" - -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi 0.1.19", - "libc", - "winapi", -] - -[[package]] -name = "autocfg" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" - -[[package]] -name = "backoff" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fe17f59a06fe8b87a6fc8bf53bb70b3aba76d7685f432487a68cd5552853625" -dependencies = [ - "futures-core", - "getrandom 0.2.8", - "instant", - "pin-project", - "rand 0.8.5", - "tokio", -] - -[[package]] -name = "backtrace" -version = "0.3.67" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "233d376d6d185f2a3093e58f283f60f880315b6c60075b01f36b3b85154564ca" -dependencies = [ - "addr2line 0.19.0", - "cc", - "cfg-if 1.0.0", - "libc", - "miniz_oxide", - "object 0.30.0", - "rustc-demangle", -] - -[[package]] -name = "base-x" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cbbc9d0964165b47557570cce6c952866c2678457aca742aafc9fb771d30270" - -[[package]] -name = "base16ct" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce" - -[[package]] -name = "base58" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6107fe1be6682a68940da878d9e9f5e90ca5745b3dec9fd1bb393c8777d4f581" - -[[package]] -name = "base64" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" - -[[package]] -name = "base64ct" -version = "1.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b645a089122eccb6111b4f81cbc1a49f5900ac4666bb93ac027feaecf15607bf" - -[[package]] -name = "beef" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1" -dependencies = [ - "serde", -] - -[[package]] -name = "bincode" -version = "1.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" -dependencies = [ - "serde", -] - -[[package]] -name = "bindgen" -version = "0.60.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "062dddbc1ba4aca46de6338e2bf87771414c335f7b2f2036e8f3e9befebf88e6" -dependencies = [ - "bitflags", - "cexpr", - "clang-sys", - "lazy_static", - "lazycell", - "peeking_take_while", - "proc-macro2", - "quote", - "regex", - "rustc-hash", - "shlex", -] - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "bitvec" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" -dependencies = [ - "funty", - "radium", - "tap", - "wyz", -] - -[[package]] -name = "blake2" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46502ad458c9a52b69d4d4d32775c788b7a1b85e8bc9d482d92250fc0e3f8efe" -dependencies = [ - "digest 0.10.6", -] - -[[package]] -name = "blake2b_simd" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72936ee4afc7f8f736d1c38383b56480b5497b4617b4a77bdbf1d2ababc76127" -dependencies = [ - "arrayref", - "arrayvec 0.7.2", - "constant_time_eq 0.1.5", -] - -[[package]] -name = "blake2s_simd" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db539cc2b5f6003621f1cd9ef92d7ded8ea5232c7de0f9faa2de251cd98730d4" -dependencies = [ - "arrayref", - "arrayvec 0.7.2", - "constant_time_eq 0.1.5", -] - -[[package]] -name = "blake3" -version = "1.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42ae2468a89544a466886840aa467a25b766499f4f04bf7d9fcd10ecee9fccef" -dependencies = [ - "arrayref", - "arrayvec 0.7.2", - "cc", - "cfg-if 1.0.0", - "constant_time_eq 0.2.4", -] - -[[package]] -name = "block-buffer" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" -dependencies = [ - "block-padding 0.1.5", - "byte-tools", - "byteorder", - "generic-array 0.12.4", -] - -[[package]] -name = "block-buffer" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" -dependencies = [ - "generic-array 0.14.6", -] - -[[package]] -name = "block-buffer" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69cce20737498f97b993470a6e536b8523f0af7892a4f928cceb1ac5e52ebe7e" -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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5" -dependencies = [ - "byte-tools", -] - -[[package]] -name = "block-padding" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" - -[[package]] -name = "bs58" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" - -[[package]] -name = "bstr" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223" -dependencies = [ - "memchr", -] - -[[package]] -name = "bstringify" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd769563b4ea2953e2825c9e6b7470a5f55f67e0be00030bf3e390a2a6071f64" - -[[package]] -name = "buf_redux" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b953a6887648bb07a535631f2bc00fbdb2a2216f135552cb3f534ed136b9c07f" -dependencies = [ - "memchr", - "safemem", -] - -[[package]] -name = "build-helper" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdce191bf3fa4995ce948c8c83b4640a1745457a149e73c6db75b4ffe36aad5f" -dependencies = [ - "semver 0.6.0", -] - -[[package]] -name = "bumpalo" -version = "3.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "572f695136211188308f16ad2ca5c851a712c464060ae6974944458eb83880ba" - -[[package]] -name = "byte-slice-cast" -version = "1.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c" - -[[package]] -name = "byte-tools" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" - -[[package]] -name = "byteorder" -version = "1.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" - -[[package]] -name = "bytes" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfb24e866b15a1af2a1b663f10c6b6b8f397a84aadb828f12e5b289ec23a3a3c" - -[[package]] -name = "bzip2-sys" -version = "0.1.11+1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" -dependencies = [ - "cc", - "libc", - "pkg-config", -] - -[[package]] -name = "camino" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88ad0e1e3e88dd237a156ab9f571021b8a158caa0ae44b1968a241efb5144c1e" -dependencies = [ - "serde", -] - -[[package]] -name = "cargo-platform" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbdb825da8a5df079a43676dbe042702f1707b1109f713a01420fbb4cc71fa27" -dependencies = [ - "serde", -] - -[[package]] -name = "cargo_metadata" -version = "0.14.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4acbb09d9ee8e23699b9634375c72795d095bf268439da88562cf9b501f181fa" -dependencies = [ - "camino", - "cargo-platform", - "semver 1.0.16", - "serde", - "serde_json", -] - -[[package]] -name = "cc" -version = "1.0.78" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a20104e2335ce8a659d6dd92a51a767a0c062599c73b343fd152cb401e828c3d" -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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" -dependencies = [ - "nom", -] - -[[package]] -name = "cfg-expr" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0aacacf4d96c24b2ad6eb8ee6df040e4f27b0d0b39a5710c30091baa830485db" -dependencies = [ - "smallvec", -] - -[[package]] -name = "cfg-if" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "cfg_aliases" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" - -[[package]] -name = "chacha20" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c80e5460aa66fe3b91d40bcbdab953a597b60053e34d684ac6903f863b680a6" -dependencies = [ - "cfg-if 1.0.0", - "cipher 0.3.0", - "cpufeatures", - "zeroize", -] - -[[package]] -name = "chacha20poly1305" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a18446b09be63d457bbec447509e85f662f32952b035ce892290396bc0b0cff5" -dependencies = [ - "aead 0.4.3", - "chacha20", - "cipher 0.3.0", - "poly1305", - "zeroize", -] - -[[package]] -name = "chrono" -version = "0.4.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b0a3d9ed01224b22057780a37bb8c5dbfe1be8ba48678e7bf57ec4b385411f" -dependencies = [ - "iana-time-zone", - "js-sys", - "num-integer", - "num-traits", - "serde", - "time 0.1.43", - "wasm-bindgen", - "winapi", -] - -[[package]] -name = "cid" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6ed9c8b2d17acb8110c46f1da5bf4a696d745e1474a16db0cd2b49cd0249bf2" -dependencies = [ - "core2", - "multibase", - "multihash", - "serde", - "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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ee52072ec15386f770805afd189a01c8841be8696bed250fa2f13c4c0d6dfb7" -dependencies = [ - "generic-array 0.14.6", -] - -[[package]] -name = "clang-sys" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa2e27ae6ab525c3d369ded447057bca5438d86dc3a68f6faafb8269ba82ebf3" -dependencies = [ - "glob", - "libc", - "libloading", -] - -[[package]] -name = "clap" -version = "3.2.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5" -dependencies = [ - "atty", - "bitflags", - "clap_derive 3.2.18", - "clap_lex 0.2.4", - "indexmap", - "once_cell", - "strsim", - "termcolor", - "textwrap", -] - -[[package]] -name = "clap" -version = "4.0.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "656ad1e55e23d287773f7d8192c300dc715c3eeded93b3da651d11c42cfd74d2" -dependencies = [ - "bitflags", - "clap_derive 4.0.21", - "clap_lex 0.3.0", - "is-terminal", - "once_cell", - "strsim", - "termcolor", -] - -[[package]] -name = "clap_derive" -version = "3.2.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea0c8bce528c4be4da13ea6fead8965e95b6073585a2f05204bd8f4119f82a65" -dependencies = [ - "heck", - "proc-macro-error", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "clap_derive" -version = "4.0.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0177313f9f02afc995627906bbd8967e2be069f5261954222dac78290c2b9014" -dependencies = [ - "heck", - "proc-macro-error", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "clap_lex" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" -dependencies = [ - "os_str_bytes", -] - -[[package]] -name = "clap_lex" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d4198f73e42b4936b35b5bb248d81d2b595ecb170da0bac7655c54eedfa8da8" -dependencies = [ - "os_str_bytes", -] - -[[package]] -name = "codespan-reporting" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" -dependencies = [ - "termcolor", - "unicode-width", -] - -[[package]] -name = "comfy-table" -version = "6.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e621e7e86c46fd8a14c32c6ae3cb95656621b4743a27d0cffedb831d46e7ad21" -dependencies = [ - "strum", - "strum_macros", - "unicode-width", -] - -[[package]] -name = "concurrent-queue" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd7bef69dc86e3c610e4e7aed41035e2a7ed12e72dd7530f61327a6579a4390b" -dependencies = [ - "crossbeam-utils", -] - -[[package]] -name = "const-oid" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cec318a675afcb6a1ea1d4340e2d377e56e47c266f28043ceccbf4412ddfdd3b" - -[[package]] -name = "constant_time_eq" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" - -[[package]] -name = "constant_time_eq" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3ad85c1f65dc7b37604eb0e89748faf0b9653065f2a8ef69f96a687ec1e9279" - -[[package]] -name = "convert_case" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" - -[[package]] -name = "core-foundation" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "core-foundation-sys" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" - -[[package]] -name = "core2" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b49ba7ef1ad6107f8824dbe97de947cbaac53c44e7f9756a1fba0d37c1eec505" -dependencies = [ - "memchr", -] - -[[package]] -name = "cpp_demangle" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eeaa953eaad386a53111e47172c2fedba671e5684c8dd601a5f474f4f118710f" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "cpufeatures" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28d997bd5e24a5928dd43e46dc529867e207907fe0b239c3477d924f7f2ca320" -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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52056f6d0584484b57fa6c1a65c1fcb15f3780d8b6a758426d9e3084169b2ddd" -dependencies = [ - "cranelift-entity", -] - -[[package]] -name = "cranelift-codegen" -version = "0.88.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18fed94c8770dc25d01154c3ffa64ed0b3ba9d583736f305fed7beebe5d9cf74" -dependencies = [ - "arrayvec 0.7.2", - "bumpalo", - "cranelift-bforest", - "cranelift-codegen-meta", - "cranelift-codegen-shared", - "cranelift-entity", - "cranelift-isle", - "gimli 0.26.2", - "log", - "regalloc2", - "smallvec", - "target-lexicon", -] - -[[package]] -name = "cranelift-codegen-meta" -version = "0.88.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c451b81faf237d11c7e4f3165eeb6bac61112762c5cfe7b4c0fb7241474358f" -dependencies = [ - "cranelift-codegen-shared", -] - -[[package]] -name = "cranelift-codegen-shared" -version = "0.88.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7c940133198426d26128f08be2b40b0bd117b84771fd36798969c4d712d81fc" - -[[package]] -name = "cranelift-entity" -version = "0.88.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87a0f1b2fdc18776956370cf8d9b009ded3f855350c480c1c52142510961f352" -dependencies = [ - "serde", -] - -[[package]] -name = "cranelift-frontend" -version = "0.88.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34897538b36b216cc8dd324e73263596d51b8cf610da6498322838b2546baf8a" -dependencies = [ - "cranelift-codegen", - "log", - "smallvec", - "target-lexicon", -] - -[[package]] -name = "cranelift-isle" -version = "0.88.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b2629a569fae540f16a76b70afcc87ad7decb38dc28fa6c648ac73b51e78470" - -[[package]] -name = "cranelift-native" -version = "0.88.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20937dab4e14d3e225c5adfc9c7106bafd4ac669bdb43027b911ff794c6fb318" -dependencies = [ - "cranelift-codegen", - "libc", - "target-lexicon", -] - -[[package]] -name = "cranelift-wasm" -version = "0.88.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80fc2288957a94fd342a015811479de1837850924166d1f1856d8406e6f3609b" -dependencies = [ - "cranelift-codegen", - "cranelift-entity", - "cranelift-frontend", - "itertools", - "log", - "smallvec", - "wasmparser", - "wasmtime-types", -] - -[[package]] -name = "crc" -version = "3.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53757d12b596c16c78b83458d732a5d1a17ab3f53f2f7412f6fb57cc8a140ab3" -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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "crossbeam-channel" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521" -dependencies = [ - "cfg-if 1.0.0", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-deque" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc" -dependencies = [ - "cfg-if 1.0.0", - "crossbeam-epoch", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-epoch" -version = "0.9.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01a9af1f4c2ef74bb8aa1f7e19706bc72d03598c8a570bb5de72243c7a9d9d5a" -dependencies = [ - "autocfg", - "cfg-if 1.0.0", - "crossbeam-utils", - "memoffset 0.7.1", - "scopeguard", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb766fa798726286dbbb842f174001dab8abc7b627a1dd86e0b7222a95d929f" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "crunchy" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" - -[[package]] -name = "crypto-bigint" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef2b4b23cddf68b89b8f8069890e8c270d54e2d5fe1b143820234805e4cb17ef" -dependencies = [ - "generic-array 0.14.6", - "rand_core 0.6.4", - "subtle", - "zeroize", -] - -[[package]] -name = "crypto-common" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" -dependencies = [ - "generic-array 0.14.6", - "typenum", -] - -[[package]] -name = "crypto-mac" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" -dependencies = [ - "generic-array 0.14.6", - "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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714" -dependencies = [ - "generic-array 0.14.6", - "subtle", -] - -[[package]] -name = "ctor" -version = "0.1.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d2301688392eb071b0bf1a37be05c469d3cc4dbbd95df672fe28ab021e6a096" -dependencies = [ - "quote", - "syn", -] - -[[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 0.3.0", -] - -[[package]] -name = "cty" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b365fabc795046672053e29c954733ec3b05e4be654ab130fe8f1f94d7051f35" - -[[package]] -name = "currency" -version = "1.2.0" -dependencies = [ - "frame-support", - "frame-system", - "mocktopus", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-transaction-payment", - "parity-scale-codec", - "scale-info", - "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "spacewalk-primitives", -] - -[[package]] -name = "curve25519-dalek" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a9b85542f99a2dfa2a1b8e192662741c9859a846b296bef1c92ef9b58b5a216" -dependencies = [ - "byteorder", - "digest 0.8.1", - "rand_core 0.5.1", - "subtle", - "zeroize", -] - -[[package]] -name = "curve25519-dalek" -version = "3.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b9fdf9972b2bd6af2d913799d9ebc165ea4d2e65878e329d9c6b372c4491b61" -dependencies = [ - "byteorder", - "digest 0.9.0", - "rand_core 0.5.1", - "subtle", - "zeroize", -] - -[[package]] -name = "curve25519-dalek" -version = "4.0.0-pre.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67bc65846be335cb20f4e52d49a437b773a2c1fdb42b19fc84e79e6f6771536f" -dependencies = [ - "cfg-if 1.0.0", - "fiat-crypto", - "packed_simd_2", - "platforms 3.0.2", - "subtle", - "zeroize", -] - -[[package]] -name = "cxx" -version = "1.0.85" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5add3fc1717409d029b20c5b6903fc0c0b02fa6741d820054f4a2efa5e5816fd" -dependencies = [ - "cc", - "cxxbridge-flags", - "cxxbridge-macro", - "link-cplusplus", -] - -[[package]] -name = "cxx-build" -version = "1.0.85" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4c87959ba14bc6fbc61df77c3fcfe180fc32b93538c4f1031dd802ccb5f2ff0" -dependencies = [ - "cc", - "codespan-reporting", - "once_cell", - "proc-macro2", - "quote", - "scratch", - "syn", -] - -[[package]] -name = "cxxbridge-flags" -version = "1.0.85" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69a3e162fde4e594ed2b07d0f83c6c67b745e7f28ce58c6df5e6b6bef99dfb59" - -[[package]] -name = "cxxbridge-macro" -version = "1.0.85" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e7e2adeb6a0d4a282e581096b06e1791532b7d576dcde5ccd9382acf55db8e6" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "darling" -version = "0.14.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0dd3cd20dc6b5a876612a6e5accfe7f3dd883db6d07acfbf14c128f61550dfa" -dependencies = [ - "darling_core", - "darling_macro", -] - -[[package]] -name = "darling_core" -version = "0.14.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a784d2ccaf7c98501746bf0be29b2022ba41fd62a2e622af997a03e9f972859f" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim", - "syn", -] - -[[package]] -name = "darling_macro" -version = "0.14.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7618812407e9402654622dd402b0a89dff9ba93badd6540781526117b92aab7e" -dependencies = [ - "darling_core", - "quote", - "syn", -] - -[[package]] -name = "dashmap" -version = "5.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "907076dfda823b0b36d2a1bb5f90c96660a5bbcd7729e10727f07858f22c4edc" -dependencies = [ - "cfg-if 1.0.0", - "hashbrown", - "lock_api", - "once_cell", - "parking_lot_core 0.9.5", -] - -[[package]] -name = "data-encoding" -version = "2.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23d8666cb01533c39dde32bcbab8e227b4ed6679b2c925eba05feabea39508fb" - -[[package]] -name = "data-encoding-macro" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86927b7cd2fe88fa698b87404b287ab98d1a0063a34071d92e575b72d3029aca" -dependencies = [ - "data-encoding", - "data-encoding-macro-internal", -] - -[[package]] -name = "data-encoding-macro-internal" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5bbed42daaa95e780b60a50546aa345b8413a1e46f9a40a12907d3598f038db" -dependencies = [ - "data-encoding", - "syn", -] - -[[package]] -name = "der" -version = "0.6.1" -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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" -dependencies = [ - "proc-macro2", - "quote", - "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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" -dependencies = [ - "convert_case", - "proc-macro2", - "quote", - "rustc_version", - "syn", -] - -[[package]] -name = "dia-oracle" -version = "0.1.0" -source = "git+https://github.com/pendulum-chain/oracle-pallet?branch=polkadot-v0.9.37#825c33715902450398b9c704ea678cf4478c22e9" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "serde_json", - "sp-core", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "diff" -version = "0.1.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" - -[[package]] -name = "difference" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198" - -[[package]] -name = "difflib" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" - -[[package]] -name = "digest" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5" -dependencies = [ - "generic-array 0.12.4", -] - -[[package]] -name = "digest" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" -dependencies = [ - "generic-array 0.14.6", -] - -[[package]] -name = "digest" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f" -dependencies = [ - "block-buffer 0.10.3", - "crypto-common", - "subtle", -] - -[[package]] -name = "directories" -version = "4.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f51c5d4ddabd36886dd3e1438cb358cdcb0d7c499cb99cb4ac2e38e18b5cb210" -dependencies = [ - "dirs-sys", -] - -[[package]] -name = "directories-next" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "339ee130d97a610ea5a5872d2bbb130fdf68884ff09d3028b81bec8a1ac23bbc" -dependencies = [ - "cfg-if 1.0.0", - "dirs-sys-next", -] - -[[package]] -name = "dirs-sys" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6" -dependencies = [ - "libc", - "redox_users", - "winapi", -] - -[[package]] -name = "dirs-sys-next" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" -dependencies = [ - "libc", - "redox_users", - "winapi", -] - -[[package]] -name = "displaydoc" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3bf95dc3f046b9da4f2d51833c0d3547d8564ef6910f5c1ed130306a75b92886" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "downcast" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bb454f0228b18c7f4c3b0ebbee346ed9c52e7443b0999cd543ff3571205701d" - -[[package]] -name = "downcast" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1" - -[[package]] -name = "downcast-rs" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" - -[[package]] -name = "dtoa" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c00704156a7de8df8da0911424e30c2049957b0a714542a44e05fe693dd85313" - -[[package]] -name = "dyn-clonable" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e9232f0e607a262ceb9bd5141a3dfb3e4db6994b31989bbfd845878cba59fd4" -dependencies = [ - "dyn-clonable-impl", - "dyn-clone", -] - -[[package]] -name = "dyn-clonable-impl" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "558e40ea573c374cf53507fd240b7ee2f5477df7cfebdb97323ec61c719399c5" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "dyn-clone" -version = "1.0.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9b0705efd4599c15a38151f4721f7bc388306f61084d3bfd50bd07fbca5cb60" - -[[package]] -name = "ecdsa" -version = "0.14.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c" -dependencies = [ - "der", - "elliptic-curve", - "rfc6979", - "signature", -] - -[[package]] -name = "ed25519" -version = "1.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e9c280362032ea4203659fc489832d0204ef09f247a0506f170dafcac08c369" -dependencies = [ - "signature", -] - -[[package]] -name = "ed25519-dalek" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" -dependencies = [ - "curve25519-dalek 3.2.0", - "ed25519", - "rand 0.7.3", - "serde", - "sha2 0.9.9", - "zeroize", -] - -[[package]] -name = "ed25519-zebra" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c24f403d068ad0b359e577a77f92392118be3f3c927538f2bb544a5ecd828c6" -dependencies = [ - "curve25519-dalek 3.2.0", - "hashbrown", - "hex", - "rand_core 0.6.4", - "sha2 0.9.9", - "zeroize", -] - -[[package]] -name = "either" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797" - -[[package]] -name = "elliptic-curve" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3" -dependencies = [ - "base16ct", - "crypto-bigint", - "der", - "digest 0.10.6", - "ff", - "generic-array 0.14.6", - "group", - "hkdf", - "pem-rfc7468", - "pkcs8", - "rand_core 0.6.4", - "sec1", - "subtle", - "zeroize", -] - -[[package]] -name = "encoding_rs" -version = "0.8.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9852635589dc9f9ea1b6fe9f05b50ef208c85c834a562f0c6abb1c475736ec2b" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "enum-as-inner" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "env_logger" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3" -dependencies = [ - "atty", - "humantime", - "log", - "regex", - "termcolor", -] - -[[package]] -name = "env_logger" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7" -dependencies = [ - "atty", - "humantime", - "log", - "regex", - "termcolor", -] - -[[package]] -name = "environmental" -version = "1.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e48c92028aaa870e83d51c64e5d4e0b6981b360c522198c23959f219a4e1b15b" - -[[package]] -name = "err-derive" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c34a887c8df3ed90498c1c437ce21f211c8e27672921a8ffa293cb8d6d4caa9e" -dependencies = [ - "proc-macro-error", - "proc-macro2", - "quote", - "rustversion", - "syn", - "synstructure", -] - -[[package]] -name = "errno" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1" -dependencies = [ - "errno-dragonfly", - "libc", - "winapi", -] - -[[package]] -name = "errno-dragonfly" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" -dependencies = [ - "cc", - "libc", -] - -[[package]] -name = "event-listener" -version = "2.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" - -[[package]] -name = "exit-future" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e43f2f1833d64e33f15592464d6fdd70f349dda7b1a53088eb83cd94014008c5" -dependencies = [ - "futures 0.3.25", -] - -[[package]] -name = "fake-simd" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" - -[[package]] -name = "fallible-iterator" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" - -[[package]] -name = "fastrand" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a407cfaa3385c4ae6b23e84623d48c2798d06e3e6a1878f7f59f17b3f86499" -dependencies = [ - "instant", -] - -[[package]] -name = "fdlimit" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c4c9e43643f5a3be4ca5b67d26b98031ff9db6806c3440ae32e02e3ceac3f1b" -dependencies = [ - "libc", -] - -[[package]] -name = "fee" -version = "1.0.0" -dependencies = [ - "currency", - "frame-benchmarking", - "frame-support", - "frame-system", - "mocktopus", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp", - "parity-scale-codec", - "reward", - "scale-info", - "security", - "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "spacewalk-primitives", - "staking", -] - -[[package]] -name = "ff" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d013fc25338cc558c5c2cfbad646908fb23591e2404481826742b651c9af7160" -dependencies = [ - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "fiat-crypto" -version = "0.1.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a214f5bb88731d436478f3ae1f8a277b62124089ba9fb67f4f93fb100ef73c90" - -[[package]] -name = "file-per-thread-logger" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21e16290574b39ee41c71aeb90ae960c504ebaf1e2a1c87bd52aa56ed6e1a02f" -dependencies = [ - "env_logger 0.9.3", - "log", -] - -[[package]] -name = "filetime" -version = "0.2.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e884668cd0c7480504233e951174ddc3b382f7c2666e3b7310b5c4e7b0c37f9" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "redox_syscall", - "windows-sys 0.42.0", -] - -[[package]] -name = "finality-grandpa" -version = "0.16.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e24e6c429951433ccb7c87fd528c60084834dcd14763182c1f83291bcde24c34" -dependencies = [ - "either", - "futures 0.3.25", - "futures-timer", - "log", - "num-traits", - "parity-scale-codec", - "parking_lot 0.12.1", - "scale-info", -] - -[[package]] -name = "fixed-hash" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfcf0ed7fe52a17a03854ec54a9f76d6d84508d1c0e66bc1793301c73fc8493c" -dependencies = [ - "byteorder", - "static_assertions", -] - -[[package]] -name = "fixed-hash" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" -dependencies = [ - "byteorder", - "rand 0.8.5", - "rustc-hex", - "static_assertions", -] - -[[package]] -name = "fixedbitset" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" - -[[package]] -name = "flate2" -version = "1.0.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8a2db397cb1c8772f31494cb8917e48cd1e64f0fa7efac59fbd741a0a8ce841" -dependencies = [ - "crc32fast", - "libz-sys", - "miniz_oxide", -] - -[[package]] -name = "float-cmp" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1267f4ac4f343772758f7b1bdcbe767c218bbab93bb432acbf5162bbf85a6c4" -dependencies = [ - "num-traits", -] - -[[package]] -name = "float-cmp" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4" -dependencies = [ - "num-traits", -] - -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - -[[package]] -name = "foreign-types" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" -dependencies = [ - "foreign-types-shared", -] - -[[package]] -name = "foreign-types-shared" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" - -[[package]] -name = "fork-tree" -version = "3.0.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "parity-scale-codec", -] - -[[package]] -name = "form_urlencoded" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8" -dependencies = [ - "percent-encoding 2.2.0", -] - -[[package]] -name = "fragile" -version = "1.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7464c5c4a3f014d9b2ec4073650e5c06596f385060af740fc45ad5a19f959e8" -dependencies = [ - "fragile 2.0.0", -] - -[[package]] -name = "fragile" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" - -[[package]] -name = "frame-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "frame-support", - "frame-system", - "linregress", - "log", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-runtime", - "sp-runtime-interface", - "sp-std", - "sp-storage", -] - -[[package]] -name = "frame-benchmarking-cli" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "Inflector", - "array-bytes", - "chrono", - "clap 4.0.30", - "comfy-table", - "frame-benchmarking", - "frame-support", - "frame-system", - "gethostname", - "handlebars", - "itertools", - "lazy_static", - "linked-hash-map", - "log", - "parity-scale-codec", - "rand 0.8.5", - "rand_pcg", - "sc-block-builder", - "sc-cli", - "sc-client-api", - "sc-client-db", - "sc-executor", - "sc-service", - "sc-sysinfo", - "serde", - "serde_json", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-database", - "sp-externalities", - "sp-inherents", - "sp-keystore", - "sp-runtime", - "sp-state-machine", - "sp-std", - "sp-storage", - "sp-trie", - "thiserror", - "thousands", -] - -[[package]] -name = "frame-executive" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", -] - -[[package]] -name = "frame-metadata" -version = "15.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df6bb8542ef006ef0de09a5c4420787d79823c0ed7924225822362fd2bf2ff2d" -dependencies = [ - "cfg-if 1.0.0", - "parity-scale-codec", - "scale-info", - "serde", -] - -[[package]] -name = "frame-support" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "bitflags", - "frame-metadata", - "frame-support-procedural", - "impl-trait-for-tuples", - "k256", - "log", - "once_cell", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "smallvec", - "sp-api", - "sp-arithmetic", - "sp-core", - "sp-core-hashing-proc-macro", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-state-machine", - "sp-std", - "sp-tracing", - "sp-weights", - "tt-call", -] - -[[package]] -name = "frame-support-procedural" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "Inflector", - "cfg-expr", - "frame-support-procedural-tools", - "itertools", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "frame-support-procedural-tools" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "frame-support-procedural-tools-derive", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "frame-support-procedural-tools-derive" -version = "3.0.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "frame-system" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "frame-support", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-version", - "sp-weights", -] - -[[package]] -name = "frame-system-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "frame-system-rpc-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "parity-scale-codec", - "sp-api", -] - -[[package]] -name = "fs2" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "fs_extra" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2022715d62ab30faffd124d40b76f4134a550a87792276512b18d63272333394" - -[[package]] -name = "fuchsia-cprng" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba" - -[[package]] -name = "funty" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" - -[[package]] -name = "futures" -version = "0.1.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678" - -[[package]] -name = "futures" -version = "0.3.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38390104763dc37a5145a53c29c63c1290b5d316d6086ec32c293f6736051bb0" -dependencies = [ - "futures-channel", - "futures-core", - "futures-executor", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-channel" -version = "0.3.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52ba265a92256105f45b719605a571ffe2d1f0fea3807304b522c1d778f79eed" -dependencies = [ - "futures-core", - "futures-sink", -] - -[[package]] -name = "futures-core" -version = "0.3.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04909a7a7e4633ae6c4a9ab280aeb86da1236243a77b694a49eacd659a4bd3ac" - -[[package]] -name = "futures-executor" -version = "0.3.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7acc85df6714c176ab5edf386123fafe217be88c0840ec11f199441134a074e2" -dependencies = [ - "futures-core", - "futures-task", - "futures-util", - "num_cpus", -] - -[[package]] -name = "futures-io" -version = "0.3.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00f5fb52a06bdcadeb54e8d3671f8888a39697dcb0b81b23b55174030427f4eb" - -[[package]] -name = "futures-lite" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7694489acd39452c77daa48516b894c153f192c3578d5a839b62c58099fcbf48" -dependencies = [ - "fastrand", - "futures-core", - "futures-io", - "memchr", - "parking", - "pin-project-lite 0.2.9", - "waker-fn", -] - -[[package]] -name = "futures-macro" -version = "0.3.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdfb8ce053d86b91919aad980c220b1fb8401a9394410e1c289ed7e66b61835d" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "futures-rustls" -version = "0.22.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2411eed028cdf8c8034eaf21f9915f956b6c3abec4d4c7949ee67f0721127bd" -dependencies = [ - "futures-io", - "rustls 0.20.7", - "webpki 0.22.0", -] - -[[package]] -name = "futures-sink" -version = "0.3.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39c15cf1a4aa79df40f1bb462fb39676d0ad9e366c2a33b590d7c66f4f81fcf9" - -[[package]] -name = "futures-task" -version = "0.3.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ffb393ac5d9a6eaa9d3fdf37ae2776656b706e200c8e16b1bdb227f5198e6ea" - -[[package]] -name = "futures-timer" -version = "3.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" -dependencies = [ - "gloo-timers", - "send_wrapper", -] - -[[package]] -name = "futures-util" -version = "0.3.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "197676987abd2f9cadff84926f410af1c183608d36641465df73ae8211dc65d6" -dependencies = [ - "futures 0.1.31", - "futures-channel", - "futures-core", - "futures-io", - "futures-macro", - "futures-sink", - "futures-task", - "memchr", - "pin-project-lite 0.2.9", - "pin-utils", - "slab", -] - -[[package]] -name = "fxhash" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" -dependencies = [ - "byteorder", -] - -[[package]] -name = "generic-array" -version = "0.12.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd" -dependencies = [ - "typenum", -] - -[[package]] -name = "generic-array" -version = "0.14.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9" -dependencies = [ - "typenum", - "version_check", -] - -[[package]] -name = "gethostname" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1ebd34e35c46e00bb73e81363248d627782724609fe1b6396f553f68fe3862e" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "getrandom" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "wasi 0.9.0+wasi-snapshot-preview1", -] - -[[package]] -name = "getrandom" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31" -dependencies = [ - "cfg-if 1.0.0", - "js-sys", - "libc", - "wasi 0.11.0+wasi-snapshot-preview1", - "wasm-bindgen", -] - -[[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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1583cc1656d7839fd3732b80cf4f38850336cdb9b8ded1cd399ca62958de3c99" -dependencies = [ - "opaque-debug 0.3.0", - "polyval 0.5.3", -] - -[[package]] -name = "gimli" -version = "0.26.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" -dependencies = [ - "fallible-iterator", - "indexmap", - "stable_deref_trait", -] - -[[package]] -name = "gimli" -version = "0.27.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dec7af912d60cdbd3677c1af9352ebae6fb8394d165568a2234df0fa00f87793" - -[[package]] -name = "git-version" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6b0decc02f4636b9ccad390dcbe77b722a77efedfa393caf8379a51d5c61899" -dependencies = [ - "git-version-macro", - "proc-macro-hack", -] - -[[package]] -name = "git-version-macro" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe69f1cbdb6e28af2bac214e943b99ce8a0a06b447d15d3e61161b0423139f3f" -dependencies = [ - "proc-macro-hack", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "glob" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" - -[[package]] -name = "globset" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a1e17342619edbc21a964c2afbeb6c820c6a2560032872f397bb97ea127bd0a" -dependencies = [ - "aho-corasick", - "bstr", - "fnv", - "log", - "regex", -] - -[[package]] -name = "gloo-net" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9050ff8617e950288d7bf7f300707639fdeda5ca0d0ecf380cff448cfd52f4a6" -dependencies = [ - "futures-channel", - "futures-core", - "futures-sink", - "gloo-utils", - "js-sys", - "pin-project", - "serde", - "serde_json", - "thiserror", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", -] - -[[package]] -name = "gloo-timers" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98c4a8d6391675c6b2ee1a6c8d06e8e2d03605c44cec1270675985a4c2a5500b" -dependencies = [ - "futures-channel", - "futures-core", - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "gloo-utils" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8e8fc851e9c7b9852508bc6e3f690f452f474417e8545ec9857b7f7377036b5" -dependencies = [ - "js-sys", - "serde", - "serde_json", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "governor" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c390a940a5d157878dd057c78680a33ce3415bcd05b4799509ea44210914b4d5" -dependencies = [ - "cfg-if 1.0.0", - "dashmap", - "futures 0.3.25", - "futures-timer", - "no-std-compat", - "nonzero_ext", - "parking_lot 0.12.1", - "quanta", - "rand 0.8.5", - "smallvec", -] - -[[package]] -name = "group" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7" -dependencies = [ - "ff", - "rand_core 0.6.4", - "subtle", -] - -[[package]] -name = "h2" -version = "0.3.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f9f29bc9dda355256b2916cf526ab02ce0aeaaaf2bad60d65ef3f12f11dd0f4" -dependencies = [ - "bytes", - "fnv", - "futures-core", - "futures-sink", - "futures-util", - "http", - "indexmap", - "slab", - "tokio", - "tokio-util", - "tracing", -] - -[[package]] -name = "handlebars" -version = "4.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "035ef95d03713f2c347a72547b7cd38cbc9af7cd51e6099fb62d586d4a6dee3a" -dependencies = [ - "log", - "pest", - "pest_derive", - "serde", - "serde_json", - "thiserror", -] - -[[package]] -name = "hash-db" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d23bd4e7b5eda0d0f3a307e8b381fdc8ba9000f26fbe912250c0a4cc3956364a" - -[[package]] -name = "hash256-std-hasher" -version = "0.15.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92c171d55b98633f4ed3860808f004099b36c1cc29c42cfc53aa8591b21efcf2" -dependencies = [ - "crunchy", -] - -[[package]] -name = "hashbrown" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -dependencies = [ - "ahash", -] - -[[package]] -name = "headers" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3e372db8e5c0d213e0cd0b9be18be2aca3d44cf2fe30a9d46a65581cd454584" -dependencies = [ - "base64", - "bitflags", - "bytes", - "headers-core", - "http", - "httpdate", - "mime", - "sha1", -] - -[[package]] -name = "headers-core" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429" -dependencies = [ - "http", -] - -[[package]] -name = "heck" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9" - -[[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - -[[package]] -name = "hermit-abi" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7" -dependencies = [ - "libc", -] - -[[package]] -name = "hex" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" - -[[package]] -name = "hex-literal" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d70693199b3cf4552f3fa720b54163927a3ebed2aef240efaf556033ab336a11" -dependencies = [ - "hex-literal-impl", - "proc-macro-hack", -] - -[[package]] -name = "hex-literal" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ebdb29d2ea9ed0083cd8cece49bbd968021bd99b0849edb4a9a7ee0fdf6a4e0" - -[[package]] -name = "hex-literal-impl" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59448fc2f82a5fb6907f78c3d69d843e82ff5b051923313cc4438cb0c7b745a8" -dependencies = [ - "proc-macro-hack", -] - -[[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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "126888268dcc288495a26bf004b38c5fdbb31682f992c84ceb046a1f0fe38840" -dependencies = [ - "crypto-mac 0.8.0", - "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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a2a2320eb7ec0ebe8da8f744d7812d9fc4cb4d09344ac01898dbcb6a20ae69b" -dependencies = [ - "crypto-mac 0.11.1", - "digest 0.9.0", -] - -[[package]] -name = "hmac" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" -dependencies = [ - "digest 0.10.6", -] - -[[package]] -name = "hmac-drbg" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17ea0a1394df5b6574da6e0c1ade9e78868c9fb0a4e5ef4428e32da4676b85b1" -dependencies = [ - "digest 0.9.0", - "generic-array 0.14.6", - "hmac 0.8.1", -] - -[[package]] -name = "hostname" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c731c3e10504cc8ed35cfe2f1db4c9274c3d35fa486e3b31df46f068ef3e867" -dependencies = [ - "libc", - "match_cfg", - "winapi", -] - -[[package]] -name = "http" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75f43d41e26995c17e71ee126451dd3941010b0514a81a9d11f3b341debc2399" -dependencies = [ - "bytes", - "fnv", - "itoa", -] - -[[package]] -name = "http-body" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" -dependencies = [ - "bytes", - "http", - "pin-project-lite 0.2.9", -] - -[[package]] -name = "http-range-header" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bfe8eed0a9285ef776bb792479ea3834e8b94e13d615c2f66d03dd50a435a29" - -[[package]] -name = "httparse" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" - -[[package]] -name = "httpdate" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" - -[[package]] -name = "humantime" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" - -[[package]] -name = "hyper" -version = "0.14.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "034711faac9d2166cb1baf1a2fb0b60b1f277f8492fd72176c17f3515e1abd3c" -dependencies = [ - "bytes", - "futures-channel", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "httparse", - "httpdate", - "itoa", - "pin-project-lite 0.2.9", - "socket2", - "tokio", - "tower-service", - "tracing", - "want", -] - -[[package]] -name = "hyper-rustls" -version = "0.23.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1788965e61b367cd03a62950836d5cd41560c3577d90e40e0819373194d1661c" -dependencies = [ - "http", - "hyper", - "log", - "rustls 0.20.7", - "rustls-native-certs", - "tokio", - "tokio-rustls", - "webpki-roots", -] - -[[package]] -name = "hyper-tls" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" -dependencies = [ - "bytes", - "hyper", - "native-tls", - "tokio", - "tokio-native-tls", -] - -[[package]] -name = "iana-time-zone" -version = "0.1.53" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64c122667b287044802d6ce17ee2ddf13207ed924c712de9a66a5814d5b64765" -dependencies = [ - "android_system_properties", - "core-foundation-sys", - "iana-time-zone-haiku", - "js-sys", - "wasm-bindgen", - "winapi", -] - -[[package]] -name = "iana-time-zone-haiku" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0703ae284fc167426161c2e3f1da3ea71d94b21bedbcc9494e92b28e334e3dca" -dependencies = [ - "cxx", - "cxx-build", -] - -[[package]] -name = "ident_case" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" - -[[package]] -name = "idna" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38f09e0f0b1fb55fdee1f17470ad800da77af5186a1a76c026b679358b7e844e" -dependencies = [ - "matches", - "unicode-bidi", - "unicode-normalization", -] - -[[package]] -name = "idna" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8" -dependencies = [ - "matches", - "unicode-bidi", - "unicode-normalization", -] - -[[package]] -name = "idna" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6" -dependencies = [ - "unicode-bidi", - "unicode-normalization", -] - -[[package]] -name = "if-addrs" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbc0fa01ffc752e9dbc72818cdb072cd028b86be5e09dd04c5a643704fe101a9" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "if-watch" -version = "3.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba7abdbb86e485125dad06c2691e1e393bf3b08c7b743b43aa162a00fd39062e" -dependencies = [ - "async-io", - "core-foundation", - "fnv", - "futures 0.3.25", - "if-addrs", - "ipnet", - "log", - "rtnetlink", - "system-configuration", - "tokio", - "windows", -] - -[[package]] -name = "impl-codec" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba6a270039626615617f3f36d15fc827041df3b78c439da2cadfa47455a77f2f" -dependencies = [ - "parity-scale-codec", -] - -[[package]] -name = "impl-serde" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebc88fc67028ae3db0c853baa36269d398d5f45b6982f95549ff5def78c935cd" -dependencies = [ - "serde", -] - -[[package]] -name = "impl-trait-for-tuples" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "index-fixed" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4161ceaf2f41b6cd3f6502f5da085d4ad4393a51e0c70ed2fce1d5698d798fae" - -[[package]] -name = "indexmap" -version = "1.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399" -dependencies = [ - "autocfg", - "hashbrown", - "serde", -] - -[[package]] -name = "instant" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "integer-sqrt" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "276ec31bcb4a9ee45f58bec6f9ec700ae4cf4f4f8f2fa7e06cb406bd5ffdd770" -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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59ce5ef949d49ee85593fc4d3f3f95ad61657076395cbbce23e2121fc5542074" - -[[package]] -name = "io-lifetimes" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46112a93252b123d31a119a8d1a1ac19deac4fac6e0e8b0df58f0d4e5870e63c" -dependencies = [ - "libc", - "windows-sys 0.42.0", -] - -[[package]] -name = "ip_network" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa2f047c0a98b2f299aa5d6d7088443570faae494e9ae1305e48be000c9e0eb1" - -[[package]] -name = "ipconfig" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd302af1b90f2463a98fa5ad469fc212c8e3175a41c3068601bfa2727591c5be" -dependencies = [ - "socket2", - "widestring", - "winapi", - "winreg", -] - -[[package]] -name = "ipnet" -version = "2.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11b0d96e660696543b251e58030cf9787df56da39dab19ad60eae7353040917e" - -[[package]] -name = "is-terminal" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28dfb6c8100ccc63462345b67d1bbc3679177c75ee4bf59bf29c8b1d110b8189" -dependencies = [ - "hermit-abi 0.2.6", - "io-lifetimes 1.0.3", - "rustix 0.36.5", - "windows-sys 0.42.0", -] - -[[package]] -name = "issue" -version = "1.0.0" -dependencies = [ - "base64", - "currency", - "fee", - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "mocktopus", - "oracle", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp", - "parity-scale-codec", - "reward", - "scale-info", - "security", - "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "spacewalk-primitives", - "staking", - "stellar-relay", - "substrate-stellar-sdk", - "vault-registry", -] - -[[package]] -name = "itertools" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" -dependencies = [ - "either", -] - -[[package]] -name = "itoa" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440" - -[[package]] -name = "jobserver" -version = "0.1.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "068b1ee6743e4d11fb9c6a1e6064b3693a1b600e7f5f5988047d98b3dc9fb90b" -dependencies = [ - "libc", -] - -[[package]] -name = "js-sys" -version = "0.3.60" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49409df3e3bf0856b916e2ceaca09ee28e6871cf7d9ce97a692cacfdb2a25a47" -dependencies = [ - "wasm-bindgen", -] - -[[package]] -name = "jsonrpc-client-transports" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2b99d4207e2a04fb4581746903c2bb7eb376f88de9c699d0f3e10feeac0cd3a" -dependencies = [ - "derive_more", - "futures 0.3.25", - "hyper", - "hyper-tls", - "jsonrpc-core", - "jsonrpc-pubsub", - "log", - "serde", - "serde_json", - "tokio", - "url 1.7.2", -] - -[[package]] -name = "jsonrpc-core" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14f7f76aef2d054868398427f6c54943cf3d1caa9a7ec7d0c38d69df97a965eb" -dependencies = [ - "futures 0.3.25", - "futures-executor", - "futures-util", - "log", - "serde", - "serde_derive", - "serde_json", -] - -[[package]] -name = "jsonrpc-core-client" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b51da17abecbdab3e3d4f26b01c5ec075e88d3abe3ab3b05dc9aa69392764ec0" -dependencies = [ - "futures 0.3.25", - "jsonrpc-client-transports", -] - -[[package]] -name = "jsonrpc-pubsub" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "240f87695e6c6f62fb37f05c02c04953cf68d6408b8c1c89de85c7a0125b1011" -dependencies = [ - "futures 0.3.25", - "jsonrpc-core", - "lazy_static", - "log", - "parking_lot 0.11.2", - "rand 0.7.3", - "serde", -] - -[[package]] -name = "jsonrpsee" -version = "0.16.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d291e3a5818a2384645fd9756362e6d89cf0541b0b916fa7702ea4a9833608e" -dependencies = [ - "jsonrpsee-client-transport", - "jsonrpsee-core", - "jsonrpsee-http-client", - "jsonrpsee-proc-macros", - "jsonrpsee-server", - "jsonrpsee-types", - "jsonrpsee-wasm-client", - "jsonrpsee-ws-client", - "tracing", -] - -[[package]] -name = "jsonrpsee-client-transport" -version = "0.16.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "965de52763f2004bc91ac5bcec504192440f0b568a5d621c59d9dbd6f886c3fb" -dependencies = [ - "anyhow", - "futures-channel", - "futures-timer", - "futures-util", - "gloo-net", - "http", - "jsonrpsee-core", - "jsonrpsee-types", - "pin-project", - "rustls-native-certs", - "soketto", - "thiserror", - "tokio", - "tokio-rustls", - "tokio-util", - "tracing", - "webpki-roots", -] - -[[package]] -name = "jsonrpsee-core" -version = "0.16.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4e70b4439a751a5de7dd5ed55eacff78ebf4ffe0fc009cb1ebb11417f5b536b" -dependencies = [ - "anyhow", - "arrayvec 0.7.2", - "async-lock", - "async-trait", - "beef", - "futures-channel", - "futures-timer", - "futures-util", - "globset", - "hyper", - "jsonrpsee-types", - "parking_lot 0.12.1", - "rand 0.8.5", - "rustc-hash", - "serde", - "serde_json", - "soketto", - "thiserror", - "tokio", - "tracing", - "wasm-bindgen-futures", -] - -[[package]] -name = "jsonrpsee-http-client" -version = "0.16.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc345b0a43c6bc49b947ebeb936e886a419ee3d894421790c969cc56040542ad" -dependencies = [ - "async-trait", - "hyper", - "hyper-rustls", - "jsonrpsee-core", - "jsonrpsee-types", - "rustc-hash", - "serde", - "serde_json", - "thiserror", - "tokio", - "tracing", -] - -[[package]] -name = "jsonrpsee-proc-macros" -version = "0.16.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baa6da1e4199c10d7b1d0a6e5e8bd8e55f351163b6f4b3cbb044672a69bd4c1c" -dependencies = [ - "heck", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "jsonrpsee-server" -version = "0.16.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fb69dad85df79527c019659a992498d03f8495390496da2f07e6c24c2b356fc" -dependencies = [ - "futures-channel", - "futures-util", - "http", - "hyper", - "jsonrpsee-core", - "jsonrpsee-types", - "serde", - "serde_json", - "soketto", - "tokio", - "tokio-stream", - "tokio-util", - "tower", - "tracing", -] - -[[package]] -name = "jsonrpsee-types" -version = "0.16.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bd522fe1ce3702fd94812965d7bb7a3364b1c9aba743944c5a00529aae80f8c" -dependencies = [ - "anyhow", - "beef", - "serde", - "serde_json", - "thiserror", - "tracing", -] - -[[package]] -name = "jsonrpsee-wasm-client" -version = "0.16.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a77310456f43c6c89bcba1f6b2fc2a28300da7c341f320f5128f8c83cc63232d" -dependencies = [ - "jsonrpsee-client-transport", - "jsonrpsee-core", - "jsonrpsee-types", -] - -[[package]] -name = "jsonrpsee-ws-client" -version = "0.16.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b83daeecfc6517cfe210df24e570fb06213533dfb990318fae781f4c7119dd9" -dependencies = [ - "http", - "jsonrpsee-client-transport", - "jsonrpsee-core", - "jsonrpsee-types", -] - -[[package]] -name = "k256" -version = "0.11.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72c1e0b51e7ec0a97369623508396067a486bd0cbed95a2659a4b863d28cfc8b" -dependencies = [ - "cfg-if 1.0.0", - "ecdsa", - "elliptic-curve", - "sha2 0.10.6", -] - -[[package]] -name = "keccak" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3afef3b6eff9ce9d8ff9b3601125eec7f0c8cbac7abd14f355d053fa56c98768" -dependencies = [ - "cpufeatures", -] - -[[package]] -name = "kvdb" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7d770dcb02bf6835887c3a979b5107a04ff4bbde97a5f0928d27404a155add9" -dependencies = [ - "smallvec", -] - -[[package]] -name = "kvdb-memorydb" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf7a85fe66f9ff9cd74e169fdd2c94c6e1e74c412c99a73b4df3200b5d3760b2" -dependencies = [ - "kvdb", - "parking_lot 0.12.1", -] - -[[package]] -name = "kvdb-rocksdb" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2182b8219fee6bd83aacaab7344e840179ae079d5216aa4e249b4d704646a844" -dependencies = [ - "kvdb", - "num_cpus", - "parking_lot 0.12.1", - "regex", - "rocksdb", - "smallvec", -] - -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" -dependencies = [ - "spin 0.5.2", -] - -[[package]] -name = "lazycell" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" - -[[package]] -name = "libc" -version = "0.2.139" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79" - -[[package]] -name = "libloading" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" -dependencies = [ - "cfg-if 1.0.0", - "winapi", -] - -[[package]] -name = "libm" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fc7aa29613bd6a620df431842069224d8bc9011086b1db4c0e0cd47fa03ec9a" - -[[package]] -name = "libm" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "348108ab3fba42ec82ff6e9564fc4ca0247bdccdc68dd8af9764bbc79c3c8ffb" - -[[package]] -name = "libp2p" -version = "0.50.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e0a0d2f693675f49ded13c5d510c48b78069e23cbd9108d7ccd59f6dc568819" -dependencies = [ - "bytes", - "futures 0.3.25", - "futures-timer", - "getrandom 0.2.8", - "instant", - "libp2p-core", - "libp2p-dns", - "libp2p-identify", - "libp2p-kad", - "libp2p-mdns", - "libp2p-metrics", - "libp2p-mplex", - "libp2p-noise", - "libp2p-ping", - "libp2p-quic", - "libp2p-request-response", - "libp2p-swarm", - "libp2p-tcp", - "libp2p-wasm-ext", - "libp2p-webrtc", - "libp2p-websocket", - "libp2p-yamux", - "multiaddr", - "parking_lot 0.12.1", - "pin-project", - "smallvec", -] - -[[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 0.3.25", - "futures-timer", - "instant", - "log", - "multiaddr", - "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", - "unsigned-varint", - "void", - "zeroize", -] - -[[package]] -name = "libp2p-dns" -version = "0.38.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e42a271c1b49f789b92f7fc87749fa79ce5c7bdc88cbdfacb818a4bca47fec5" -dependencies = [ - "futures 0.3.25", - "libp2p-core", - "log", - "parking_lot 0.12.1", - "smallvec", - "trust-dns-resolver", -] - -[[package]] -name = "libp2p-identify" -version = "0.41.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c052d0026f4817b44869bfb6810f4e1112f43aec8553f2cb38881c524b563abf" -dependencies = [ - "asynchronous-codec", - "futures 0.3.25", - "futures-timer", - "libp2p-core", - "libp2p-swarm", - "log", - "lru", - "prost", - "prost-build", - "prost-codec", - "smallvec", - "thiserror", - "void", -] - -[[package]] -name = "libp2p-kad" -version = "0.42.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2766dcd2be8c87d5e1f35487deb22d765f49c6ae1251b3633efe3b25698bd3d2" -dependencies = [ - "arrayvec 0.7.2", - "asynchronous-codec", - "bytes", - "either", - "fnv", - "futures 0.3.25", - "futures-timer", - "instant", - "libp2p-core", - "libp2p-swarm", - "log", - "prost", - "prost-build", - "rand 0.8.5", - "sha2 0.10.6", - "smallvec", - "thiserror", - "uint", - "unsigned-varint", - "void", -] - -[[package]] -name = "libp2p-mdns" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04f378264aade9872d6ccd315c0accc18be3a35d15fc1b9c36e5b6f983b62b5b" -dependencies = [ - "data-encoding", - "futures 0.3.25", - "if-watch", - "libp2p-core", - "libp2p-swarm", - "log", - "rand 0.8.5", - "smallvec", - "socket2", - "tokio", - "trust-dns-proto", - "void", -] - -[[package]] -name = "libp2p-metrics" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ad8a64f29da86005c86a4d2728b8a0719e9b192f4092b609fd8790acb9dec55" -dependencies = [ - "libp2p-core", - "libp2p-identify", - "libp2p-kad", - "libp2p-ping", - "libp2p-swarm", - "prometheus-client", -] - -[[package]] -name = "libp2p-mplex" -version = "0.38.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03805b44107aa013e7cbbfa5627b31c36cbedfdfb00603c0311998882bc4bace" -dependencies = [ - "asynchronous-codec", - "bytes", - "futures 0.3.25", - "libp2p-core", - "log", - "nohash-hasher", - "parking_lot 0.12.1", - "rand 0.8.5", - "smallvec", - "unsigned-varint", -] - -[[package]] -name = "libp2p-noise" -version = "0.41.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a978cb57efe82e892ec6f348a536bfbd9fee677adbe5689d7a93ad3a9bffbf2e" -dependencies = [ - "bytes", - "curve25519-dalek 3.2.0", - "futures 0.3.25", - "libp2p-core", - "log", - "once_cell", - "prost", - "prost-build", - "rand 0.8.5", - "sha2 0.10.6", - "snow", - "static_assertions", - "thiserror", - "x25519-dalek 1.1.1", - "zeroize", -] - -[[package]] -name = "libp2p-ping" -version = "0.41.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "929fcace45a112536e22b3dcfd4db538723ef9c3cb79f672b98be2cc8e25f37f" -dependencies = [ - "futures 0.3.25", - "futures-timer", - "instant", - "libp2p-core", - "libp2p-swarm", - "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 0.3.25", - "futures-timer", - "if-watch", - "libp2p-core", - "libp2p-tls", - "log", - "parking_lot 0.12.1", - "quinn-proto", - "rand 0.8.5", - "rustls 0.20.7", - "thiserror", - "tokio", -] - -[[package]] -name = "libp2p-request-response" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3236168796727bfcf4927f766393415361e2c644b08bedb6a6b13d957c9a4884" -dependencies = [ - "async-trait", - "bytes", - "futures 0.3.25", - "instant", - "libp2p-core", - "libp2p-swarm", - "log", - "rand 0.8.5", - "smallvec", - "unsigned-varint", -] - -[[package]] -name = "libp2p-swarm" -version = "0.41.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2a35472fe3276b3855c00f1c032ea8413615e030256429ad5349cdf67c6e1a0" -dependencies = [ - "either", - "fnv", - "futures 0.3.25", - "futures-timer", - "instant", - "libp2p-core", - "libp2p-swarm-derive", - "log", - "pin-project", - "rand 0.8.5", - "smallvec", - "thiserror", - "tokio", - "void", -] - -[[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.38.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4b257baf6df8f2df39678b86c578961d48cc8b68642a12f0f763f56c8e5858d" -dependencies = [ - "futures 0.3.25", - "futures-timer", - "if-watch", - "libc", - "libp2p-core", - "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 0.3.25", - "futures-rustls", - "libp2p-core", - "rcgen 0.10.0", - "ring", - "rustls 0.20.7", - "thiserror", - "webpki 0.22.0", - "x509-parser 0.14.0", - "yasna", -] - -[[package]] -name = "libp2p-wasm-ext" -version = "0.38.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bb1a35299860e0d4b3c02a3e74e3b293ad35ae0cee8a056363b0c862d082069" -dependencies = [ - "futures 0.3.25", - "js-sys", - "libp2p-core", - "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 0.3.25", - "futures-timer", - "hex", - "if-watch", - "libp2p-core", - "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.40.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d705506030d5c0aaf2882437c70dab437605f21c5f9811978f694e6917a3b54" -dependencies = [ - "either", - "futures 0.3.25", - "futures-rustls", - "libp2p-core", - "log", - "parking_lot 0.12.1", - "quicksink", - "rw-stream-sink", - "soketto", - "url 2.3.1", - "webpki-roots", -] - -[[package]] -name = "libp2p-yamux" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f63594a0aa818642d9d4915c791945053877253f08a3626f13416b5cd928a29" -dependencies = [ - "futures 0.3.25", - "libp2p-core", - "log", - "parking_lot 0.12.1", - "thiserror", - "yamux", -] - -[[package]] -name = "librocksdb-sys" -version = "0.8.0+7.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "611804e4666a25136fcc5f8cf425ab4d26c7f74ea245ffe92ea23b85b6420b5d" -dependencies = [ - "bindgen", - "bzip2-sys", - "cc", - "glob", - "libc", - "libz-sys", - "tikv-jemalloc-sys", -] - -[[package]] -name = "libsecp256k1" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b09eff1b35ed3b33b877ced3a691fc7a481919c7e29c53c906226fcf55e2a1" -dependencies = [ - "arrayref", - "base64", - "digest 0.9.0", - "hmac-drbg", - "libsecp256k1-core", - "libsecp256k1-gen-ecmult", - "libsecp256k1-gen-genmult", - "rand 0.8.5", - "serde", - "sha2 0.9.9", - "typenum", -] - -[[package]] -name = "libsecp256k1-core" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" -dependencies = [ - "crunchy", - "digest 0.9.0", - "subtle", -] - -[[package]] -name = "libsecp256k1-gen-ecmult" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3038c808c55c87e8a172643a7d87187fc6c4174468159cb3090659d55bcb4809" -dependencies = [ - "libsecp256k1-core", -] - -[[package]] -name = "libsecp256k1-gen-genmult" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3db8d6ba2cec9eacc40e6e8ccc98931840301f1006e95647ceb2dd5c3aa06f7c" -dependencies = [ - "libsecp256k1-core", -] - -[[package]] -name = "libz-sys" -version = "1.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9702761c3935f8cc2f101793272e202c72b99da8f4224a19ddcf1279a6450bbf" -dependencies = [ - "cc", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "link-cplusplus" -version = "1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecd207c9c713c34f95a097a5b029ac2ce6010530c7b49d7fea24d977dede04f5" -dependencies = [ - "cc", -] - -[[package]] -name = "linked-hash-map" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" - -[[package]] -name = "linked_hash_set" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47186c6da4d81ca383c7c47c1bfc80f4b95f4720514d860a5407aaf4233f9588" -dependencies = [ - "linked-hash-map", -] - -[[package]] -name = "linregress" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6c601a85f5ecd1aba625247bca0031585fb1c446461b142878a16f8245ddeb8" -dependencies = [ - "nalgebra", - "statrs", -] - -[[package]] -name = "linux-raw-sys" -version = "0.0.46" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4d2456c373231a208ad294c33dc5bff30051eafd954cd4caae83a712b12854d" - -[[package]] -name = "linux-raw-sys" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" - -[[package]] -name = "lock_api" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df" -dependencies = [ - "autocfg", - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "lru" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6e8aaa3f231bb4bd57b84b2d5dc3ae7f350265df8aa96492e0bc394a1571909" -dependencies = [ - "hashbrown", -] - -[[package]] -name = "lru-cache" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31e24f1ad8321ca0e8a1e0ac13f23cb668e6f5466c2c57319f6a5cf1cc8e3b1c" -dependencies = [ - "linked-hash-map", -] - -[[package]] -name = "lz4" -version = "1.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e9e2dd86df36ce760a60f6ff6ad526f7ba1f14ba0356f8254fb6905e6494df1" -dependencies = [ - "libc", - "lz4-sys", -] - -[[package]] -name = "lz4-sys" -version = "1.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57d27b317e207b10f69f5e75494119e391a96f48861ae870d1da6edac98ca900" -dependencies = [ - "cc", - "libc", -] - -[[package]] -name = "mach" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" -dependencies = [ - "libc", -] - -[[package]] -name = "match_cfg" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4" - -[[package]] -name = "matchers" -version = "0.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1" -dependencies = [ - "regex-automata", -] - -[[package]] -name = "matches" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f" - -[[package]] -name = "matrixmultiply" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "add85d4dd35074e6fedc608f8c8f513a3548619a9024b751949ef0e8e45a4d84" -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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" - -[[package]] -name = "memfd" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b20a59d985586e4a5aef64564ac77299f8586d8be6cf9106a5a40207e8908efb" -dependencies = [ - "rustix 0.36.5", -] - -[[package]] -name = "memmap2" -version = "0.5.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b182332558b18d807c4ce1ca8ca983b34c3ee32765e47b3f0f69b90355cc1dc" -dependencies = [ - "libc", -] - -[[package]] -name = "memoffset" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" -dependencies = [ - "autocfg", -] - -[[package]] -name = "memoffset" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4" -dependencies = [ - "autocfg", -] - -[[package]] -name = "memory-db" -version = "0.31.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e0c7cba9ce19ac7ffd2053ac9f49843bbd3f4318feedfd74e85c19d5fb0ba66" -dependencies = [ - "hash-db", - "hashbrown", -] - -[[package]] -name = "memory_units" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8452105ba047068f40ff7093dd1d9da90898e63dd61736462e9cdda6a90ad3c3" - -[[package]] -name = "merlin" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e261cf0f8b3c42ded9f7d2bb59dea03aa52bc8a1cbc7482f9fc3fd1229d3b42" -dependencies = [ - "byteorder", - "keccak", - "rand_core 0.5.1", - "zeroize", -] - -[[package]] -name = "mime" -version = "0.3.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" - -[[package]] -name = "mime_guess" -version = "2.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4192263c238a5f0d0c6bfd21f336a313a4ce1c450542449ca191bb657b4642ef" -dependencies = [ - "mime", - "unicase", -] - -[[package]] -name = "minimal-lexical" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" - -[[package]] -name = "miniz_oxide" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa" -dependencies = [ - "adler", -] - -[[package]] -name = "mio" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d732bc30207a6423068df043e3d02e0735b155ad7ce1a6f76fe2baa5b158de" -dependencies = [ - "libc", - "log", - "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.42.0", -] - -[[package]] -name = "mockall" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41cabea45a7fc0e37093f4f30a5e2b62602253f91791c057d5f0470c63260c3d" -dependencies = [ - "cfg-if 0.1.10", - "downcast 0.10.0", - "fragile 1.2.2", - "lazy_static", - "mockall_derive 0.8.3", - "predicates 1.0.8", - "predicates-tree", -] - -[[package]] -name = "mockall" -version = "0.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50e4a1c770583dac7ab5e2f6c139153b783a53a1bbee9729613f193e59828326" -dependencies = [ - "cfg-if 1.0.0", - "downcast 0.11.0", - "fragile 2.0.0", - "lazy_static", - "mockall_derive 0.11.3", - "predicates 2.1.4", - "predicates-tree", -] - -[[package]] -name = "mockall_derive" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c461918bf7f59eefb1459252756bf2351a995d6bd510d0b2061bd86bcdabfa6" -dependencies = [ - "cfg-if 0.1.10", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "mockall_derive" -version = "0.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "832663583d5fa284ca8810bf7015e46c9fff9622d3cf34bd1eea5003fec06dd0" -dependencies = [ - "cfg-if 1.0.0", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "mocktopus" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e4f0d5a1621fea252541cf67533c4b9c32ee892d790768f4ad48f1063059537" -dependencies = [ - "mocktopus_macros", -] - -[[package]] -name = "mocktopus_macros" -version = "0.7.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3048ef3680533a27f9f8e7d6a0bce44dc61e4895ea0f42709337fa1c8616fefe" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "module-issue-rpc" -version = "1.2.0" -dependencies = [ - "jsonrpsee", - "module-issue-rpc-runtime-api", - "parity-scale-codec", - "sp-api", - "sp-blockchain", - "sp-runtime", -] - -[[package]] -name = "module-issue-rpc-runtime-api" -version = "1.2.0" -dependencies = [ - "frame-support", - "parity-scale-codec", - "sp-api", - "sp-std", -] - -[[package]] -name = "module-oracle-rpc" -version = "1.2.0" -dependencies = [ - "jsonrpsee", - "module-oracle-rpc-runtime-api", - "parity-scale-codec", - "sp-api", - "sp-blockchain", - "sp-runtime", -] - -[[package]] -name = "module-oracle-rpc-runtime-api" -version = "1.2.0" -dependencies = [ - "frame-support", - "parity-scale-codec", - "serde", - "sp-api", - "sp-std", -] - -[[package]] -name = "module-redeem-rpc" -version = "1.2.0" -dependencies = [ - "jsonrpsee", - "module-redeem-rpc-runtime-api", - "parity-scale-codec", - "sp-api", - "sp-blockchain", - "sp-runtime", -] - -[[package]] -name = "module-redeem-rpc-runtime-api" -version = "1.2.0" -dependencies = [ - "frame-support", - "parity-scale-codec", - "sp-api", - "sp-std", -] - -[[package]] -name = "module-replace-rpc" -version = "1.2.0" -dependencies = [ - "jsonrpsee", - "module-replace-rpc-runtime-api", - "parity-scale-codec", - "sp-api", - "sp-blockchain", - "sp-runtime", -] - -[[package]] -name = "module-replace-rpc-runtime-api" -version = "1.2.0" -dependencies = [ - "frame-support", - "parity-scale-codec", - "sp-api", - "sp-std", -] - -[[package]] -name = "module-vault-registry-rpc" -version = "0.3.0" -dependencies = [ - "jsonrpsee", - "module-oracle-rpc-runtime-api", - "module-vault-registry-rpc-runtime-api", - "parity-scale-codec", - "sp-api", - "sp-blockchain", - "sp-runtime", -] - -[[package]] -name = "module-vault-registry-rpc-runtime-api" -version = "0.3.0" -dependencies = [ - "frame-support", - "module-oracle-rpc-runtime-api", - "parity-scale-codec", - "sp-api", - "sp-std", -] - -[[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 2.2.0", - "serde", - "static_assertions", - "unsigned-varint", - "url 2.3.1", -] - -[[package]] -name = "multibase" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b3539ec3c1f04ac9748a260728e855f261b4977f5c3406612c884564f329404" -dependencies = [ - "base-x", - "data-encoding", - "data-encoding-macro", -] - -[[package]] -name = "multihash" -version = "0.16.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c346cf9999c631f002d8f977c4eaeaa0e6386f16007202308d0b3757522c2cc" -dependencies = [ - "blake2b_simd", - "blake2s_simd", - "blake3", - "core2", - "digest 0.10.6", - "multihash-derive", - "sha2 0.10.6", - "sha3", - "unsigned-varint", -] - -[[package]] -name = "multihash-derive" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc076939022111618a5026d3be019fd8b366e76314538ff9a1b59ffbcbf98bcd" -dependencies = [ - "proc-macro-crate", - "proc-macro-error", - "proc-macro2", - "quote", - "syn", - "synstructure", -] - -[[package]] -name = "multimap" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" - -[[package]] -name = "multipart" -version = "0.18.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00dec633863867f29cb39df64a397cdf4a6354708ddd7759f70c7fb51c5f9182" -dependencies = [ - "buf_redux", - "httparse", - "log", - "mime", - "mime_guess", - "quick-error", - "rand 0.8.5", - "safemem", - "tempfile", - "twoway", -] - -[[package]] -name = "multistream-select" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8552ab875c1313b97b8d20cb857b9fd63e2d1d6a0a1b53ce9821e575405f27a" -dependencies = [ - "bytes", - "futures 0.3.25", - "log", - "pin-project", - "smallvec", - "unsigned-varint", -] - -[[package]] -name = "nalgebra" -version = "0.27.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "462fffe4002f4f2e1f6a9dcf12cc1a6fc0e15989014efc02a941d3e0f5dc2120" -dependencies = [ - "approx", - "matrixmultiply", - "nalgebra-macros", - "num-complex", - "num-rational", - "num-traits", - "rand 0.8.5", - "rand_distr", - "simba", - "typenum", -] - -[[package]] -name = "nalgebra-macros" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01fcc0b8149b4632adc89ac3b7b31a12fb6099a0317a4eb2ebff574ef7de7218" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "names" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7d66043b25d4a6cccb23619d10c19c25304b355a7dccd4a8e11423dd2382146" -dependencies = [ - "rand 0.8.5", -] - -[[package]] -name = "native-tls" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e" -dependencies = [ - "lazy_static", - "libc", - "log", - "openssl", - "openssl-probe", - "openssl-sys", - "schannel", - "security-framework", - "security-framework-sys", - "tempfile", -] - -[[package]] -name = "netlink-packet-core" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "345b8ab5bd4e71a2986663e88c56856699d060e78e152e6e9d7966fcd5491297" -dependencies = [ - "anyhow", - "byteorder", - "libc", - "netlink-packet-utils", -] - -[[package]] -name = "netlink-packet-route" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9ea4302b9759a7a88242299225ea3688e63c85ea136371bb6cf94fd674efaab" -dependencies = [ - "anyhow", - "bitflags", - "byteorder", - "libc", - "netlink-packet-core", - "netlink-packet-utils", -] - -[[package]] -name = "netlink-packet-utils" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25af9cf0dc55498b7bd94a1508af7a78706aa0ab715a73c5169273e03c84845e" -dependencies = [ - "anyhow", - "byteorder", - "paste", - "thiserror", -] - -[[package]] -name = "netlink-proto" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65b4b14489ab424703c092062176d52ba55485a89c076b4f9db05092b7223aa6" -dependencies = [ - "bytes", - "futures 0.3.25", - "log", - "netlink-packet-core", - "netlink-sys", - "thiserror", - "tokio", -] - -[[package]] -name = "netlink-sys" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92b654097027250401127914afb37cb1f311df6610a9891ff07a757e94199027" -dependencies = [ - "bytes", - "futures 0.3.25", - "libc", - "log", - "tokio", -] - -[[package]] -name = "nix" -version = "0.24.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa52e972a9a719cecb6864fb88568781eb706bac2cd1d4f04a648542dbf78069" -dependencies = [ - "bitflags", - "cfg-if 1.0.0", - "libc", - "memoffset 0.6.5", -] - -[[package]] -name = "no-std-compat" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b93853da6d84c2e3c7d730d6473e8817692dd89be387eb01b94d7f108ecb5b8c" - -[[package]] -name = "nohash-hasher" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" - -[[package]] -name = "nom" -version = "7.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8903e5a29a317527874d0402f867152a3d21c908bb0b933e416c65e301d4c36" -dependencies = [ - "memchr", - "minimal-lexical", -] - -[[package]] -name = "nomination" -version = "0.5.0" -dependencies = [ - "currency", - "fee", - "frame-benchmarking", - "frame-support", - "frame-system", - "mocktopus", - "oracle", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp", - "parity-scale-codec", - "reward", - "scale-info", - "security", - "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "spacewalk-primitives", - "staking", - "vault-registry", -] - -[[package]] -name = "nonzero_ext" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38bf9645c8b145698bb0b18a4637dcacbc421ea49bef2317e4fd8065a387cf21" - -[[package]] -name = "normalize-line-endings" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" - -[[package]] -name = "ntapi" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc51db7b362b205941f71232e56c625156eb9a929f8cf74a428fd5bc094a4afc" -dependencies = [ - "winapi", -] - -[[package]] -name = "ntest" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da8ec6d2b73d45307e926f5af46809768581044384637af6b3f3fe7c3c88f512" -dependencies = [ - "ntest_test_cases", - "ntest_timeout", -] - -[[package]] -name = "ntest_test_cases" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be7d33be719c6f4d09e64e27c1ef4e73485dc4cc1f4d22201f89860a7fe22e22" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "ntest_timeout" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "066b468120587a402f0b47d8f80035c921f6a46f8209efd0632a89a16f5188a4" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "num-bigint" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-complex" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ae39348c8bc5fbd7f40c727a9925f03517afd2ab27d46702108b6a7e5414c19" -dependencies = [ - "num-traits", -] - -[[package]] -name = "num-format" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3" -dependencies = [ - "arrayvec 0.7.2", - "itoa", -] - -[[package]] -name = "num-integer" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" -dependencies = [ - "autocfg", - "num-traits", -] - -[[package]] -name = "num-rational" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" -dependencies = [ - "autocfg", - "num-bigint", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-traits" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" -dependencies = [ - "autocfg", - "libm 0.2.6", -] - -[[package]] -name = "num_cpus" -version = "1.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b" -dependencies = [ - "hermit-abi 0.2.6", - "libc", -] - -[[package]] -name = "object" -version = "0.29.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" -dependencies = [ - "crc32fast", - "hashbrown", - "indexmap", - "memchr", -] - -[[package]] -name = "object" -version = "0.30.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "239da7f290cfa979f43f85a8efeee9a8a76d0827c356d37f9d3d7254d6b537fb" -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.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860" - -[[package]] -name = "opaque-debug" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" - -[[package]] -name = "opaque-debug" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" - -[[package]] -name = "openssl" -version = "0.10.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b102428fd03bc5edf97f62620f7298614c45cedf287c271e7ed450bbaf83f2e1" -dependencies = [ - "bitflags", - "cfg-if 1.0.0", - "foreign-types", - "libc", - "once_cell", - "openssl-macros", - "openssl-sys", -] - -[[package]] -name = "openssl-macros" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b501e44f11665960c7e7fcf062c7d96a14ade4aa98116c004b2e37b5be7d736c" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "openssl-probe" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" - -[[package]] -name = "openssl-sys" -version = "0.9.80" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23bbbf7854cd45b83958ebe919f0e8e516793727652e27fda10a8384cfc790b7" -dependencies = [ - "autocfg", - "cc", - "libc", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "oracle" -version = "1.2.0" -dependencies = [ - "currency", - "dia-oracle", - "frame-benchmarking", - "frame-support", - "frame-system", - "mocktopus", - "orml-currencies", - "orml-oracle", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp", - "parity-scale-codec", - "scale-info", - "security", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "spacewalk-primitives", - "staking", -] - -[[package]] -name = "orml-currencies" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.37#16b6c1149a15674d21c87244b7988a667e2c14d9" -dependencies = [ - "frame-support", - "frame-system", - "orml-traits", - "orml-utilities", - "parity-scale-codec", - "scale-info", - "serde", - "sp-io", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "orml-oracle" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.37#16b6c1149a15674d21c87244b7988a667e2c14d9" -dependencies = [ - "frame-support", - "frame-system", - "orml-traits", - "orml-utilities", - "parity-scale-codec", - "scale-info", - "serde", - "sp-application-crypto", - "sp-io", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "orml-tokens" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.37#16b6c1149a15674d21c87244b7988a667e2c14d9" -dependencies = [ - "frame-support", - "frame-system", - "orml-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "orml-traits" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.37#16b6c1149a15674d21c87244b7988a667e2c14d9" -dependencies = [ - "frame-support", - "impl-trait-for-tuples", - "num-traits", - "orml-utilities", - "parity-scale-codec", - "scale-info", - "serde", - "sp-io", - "sp-runtime", - "sp-std", - "xcm", -] - -[[package]] -name = "orml-utilities" -version = "0.4.1-dev" -source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.37#16b6c1149a15674d21c87244b7988a667e2c14d9" -dependencies = [ - "frame-support", - "parity-scale-codec", - "scale-info", - "serde", - "sp-io", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "os_str_bytes" -version = "6.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee" - -[[package]] -name = "output_vt100" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "628223faebab4e3e40667ee0b2336d34a5b960ff60ea743ddfdbcf7770bcfb66" -dependencies = [ - "winapi", -] - -[[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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1914cd452d8fccd6f9db48147b29fd4ae05bea9dc5d9ad578509f72415de282" -dependencies = [ - "cfg-if 1.0.0", - "libm 0.1.4", -] - -[[package]] -name = "pallet-aura" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "frame-support", - "frame-system", - "pallet-timestamp", - "parity-scale-codec", - "scale-info", - "sp-application-crypto", - "sp-consensus-aura", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "pallet-authorship" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "frame-support", - "frame-system", - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "sp-authorship", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "pallet-balances" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "parity-scale-codec", - "scale-info", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "pallet-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "pallet-authorship", - "pallet-session", - "parity-scale-codec", - "scale-info", - "sp-application-crypto", - "sp-core", - "sp-finality-grandpa", - "sp-io", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-std", -] - -[[package]] -name = "pallet-session" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "frame-support", - "frame-system", - "impl-trait-for-tuples", - "log", - "pallet-timestamp", - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-session", - "sp-staking", - "sp-std", - "sp-trie", -] - -[[package]] -name = "pallet-sudo" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "sp-io", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "pallet-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "parity-scale-codec", - "scale-info", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-std", - "sp-timestamp", -] - -[[package]] -name = "pallet-transaction-payment" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "pallet-transaction-payment-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "jsonrpsee", - "pallet-transaction-payment-rpc-runtime-api", - "parity-scale-codec", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-rpc", - "sp-runtime", - "sp-weights", -] - -[[package]] -name = "pallet-transaction-payment-rpc-runtime-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "pallet-transaction-payment", - "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-weights", -] - -[[package]] -name = "parity-db" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a7511a0bec4a336b5929999d02b560d2439c993cccf98c26481484e811adc43" -dependencies = [ - "blake2", - "crc32fast", - "fs2", - "hex", - "libc", - "log", - "lz4", - "memmap2", - "parking_lot 0.12.1", - "rand 0.8.5", - "snap", -] - -[[package]] -name = "parity-scale-codec" -version = "3.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "366e44391a8af4cfd6002ef6ba072bae071a96aafca98d7d448a34c5dca38b6a" -dependencies = [ - "arrayvec 0.7.2", - "bitvec", - "byte-slice-cast", - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec-derive", - "serde", -] - -[[package]] -name = "parity-scale-codec-derive" -version = "3.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9299338969a3d2f491d65f140b00ddec470858402f888af98e8642fb5e8965cd" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "parity-send-wrapper" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa9777aa91b8ad9dd5aaa04a9b6bcb02c7f1deb952fca5a66034d5e63afc5c6f" - -[[package]] -name = "parity-wasm" -version = "0.45.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1ad0aff30c1da14b1254fcb2af73e1fa9a28670e584a626f53a369d0e157304" - -[[package]] -name = "parking" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72" - -[[package]] -name = "parking_lot" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99" -dependencies = [ - "instant", - "lock_api", - "parking_lot_core 0.8.6", -] - -[[package]] -name = "parking_lot" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" -dependencies = [ - "lock_api", - "parking_lot_core 0.9.5", -] - -[[package]] -name = "parking_lot_core" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc" -dependencies = [ - "cfg-if 1.0.0", - "instant", - "libc", - "redox_syscall", - "smallvec", - "winapi", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ff9f3fef3968a3ec5945535ed654cb38ff72d7495a25619e2247fb15a2ed9ba" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "redox_syscall", - "smallvec", - "windows-sys 0.42.0", -] - -[[package]] -name = "paste" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d01a5bd0424d00070b0098dd17ebca6f961a959dead1dbcbbbc1d1cd8d3deeba" - -[[package]] -name = "pbkdf2" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa" -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 = "peeking_take_while" -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", -] - -[[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 = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831" - -[[package]] -name = "percent-encoding" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" - -[[package]] -name = "pest" -version = "2.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc8bed3549e0f9b0a2a78bf7c0018237a2cdf085eecbbc048e52612438e4e9d0" -dependencies = [ - "thiserror", - "ucd-trie", -] - -[[package]] -name = "pest_derive" -version = "2.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdc078600d06ff90d4ed238f0119d84ab5d43dbaad278b0e33a8820293b32344" -dependencies = [ - "pest", - "pest_generator", -] - -[[package]] -name = "pest_generator" -version = "2.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28a1af60b1c4148bb269006a750cff8e2ea36aff34d2d96cf7be0b14d1bed23c" -dependencies = [ - "pest", - "pest_meta", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "pest_meta" -version = "2.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fec8605d59fc2ae0c6c1aefc0c7c7a9769732017c0ce07f7a9cfffa7b4404f20" -dependencies = [ - "once_cell", - "pest", - "sha1", -] - -[[package]] -name = "petgraph" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d5014253a1331579ce62aa67443b4a658c5e7dd03d4bc6d302b94474888143" -dependencies = [ - "fixedbitset", - "indexmap", -] - -[[package]] -name = "pin-project" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad29a609b6bcd67fee905812e544992d216af9d755757c05ed2d0e15a74c6ecc" -dependencies = [ - "pin-project-internal", -] - -[[package]] -name = "pin-project-internal" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "pin-project-lite" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" - -[[package]] -name = "pin-project-lite" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" - -[[package]] -name = "pin-utils" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" - -[[package]] -name = "pkcs8" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba" -dependencies = [ - "der", - "spki", -] - -[[package]] -name = "pkg-config" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ac9a59f73473f1b8d852421e59e64809f025994837ef743615c6d0c5b305160" - -[[package]] -name = "platforms" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8d0eef3571242013a0d5dc84861c3ae4a652e56e12adf8bdc26ff5f8cb34c94" - -[[package]] -name = "platforms" -version = "3.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3d7ddaed09e0eb771a79ab0fd64609ba0afb0a8366421957936ad14cbd13630" - -[[package]] -name = "polling" -version = "2.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22122d5ec4f9fe1b3916419b76be1e80bcb93f618d071d2edf841b137b2a2bd6" -dependencies = [ - "autocfg", - "cfg-if 1.0.0", - "libc", - "log", - "wepoll-ffi", - "windows-sys 0.42.0", -] - -[[package]] -name = "poly1305" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "048aeb476be11a4b6ca432ca569e375810de9294ae78f4774e78ea98a9246ede" -dependencies = [ - "cpufeatures", - "opaque-debug 0.3.0", - "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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8419d2b623c7c0896ff2d5d96e2cb4ede590fed28fcc34934f4c33c036e620a1" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "opaque-debug 0.3.0", - "universal-hash", -] - -[[package]] -name = "ppv-lite86" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" - -[[package]] -name = "predicates" -version = "1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f49cfaf7fdaa3bfacc6fa3e7054e65148878354a5cfddcf661df4c851f8021df" -dependencies = [ - "difference", - "float-cmp 0.8.0", - "normalize-line-endings", - "predicates-core", - "regex", -] - -[[package]] -name = "predicates" -version = "2.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f54fc5dc63ed3bbf19494623db4f3af16842c0d975818e469022d09e53f0aa05" -dependencies = [ - "difflib", - "float-cmp 0.9.0", - "itertools", - "normalize-line-endings", - "predicates-core", - "regex", -] - -[[package]] -name = "predicates-core" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72f883590242d3c6fc5bf50299011695fa6590c2c70eac95ee1bdb9a733ad1a2" - -[[package]] -name = "predicates-tree" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54ff541861505aabf6ea722d2131ee980b8276e10a1297b94e896dd8b621850d" -dependencies = [ - "predicates-core", - "termtree", -] - -[[package]] -name = "pretty_assertions" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cab0e7c02cf376875e9335e0ba1da535775beb5450d21e1dffca068818ed98b" -dependencies = [ - "ansi_term", - "ctor", - "diff", - "output_vt100", -] - -[[package]] -name = "prettyplease" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c8992a85d8e93a28bdf76137db888d3874e3b230dee5ed8bebac4c9f7617773" -dependencies = [ - "proc-macro2", - "syn", -] - -[[package]] -name = "primitive-types" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f3486ccba82358b11a77516035647c34ba167dfa53312630de83b12bd4f3d66" -dependencies = [ - "fixed-hash 0.8.0", - "impl-codec", - "impl-serde", - "scale-info", - "uint", -] - -[[package]] -name = "proc-macro-crate" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eda0fc3b0fb7c975631757e14d9049da17374063edb6ebbcbc54d880d4fe94e9" -dependencies = [ - "once_cell", - "thiserror", - "toml", -] - -[[package]] -name = "proc-macro-error" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" -dependencies = [ - "proc-macro-error-attr", - "proc-macro2", - "quote", - "syn", - "version_check", -] - -[[package]] -name = "proc-macro-error-attr" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" -dependencies = [ - "proc-macro2", - "quote", - "version_check", -] - -[[package]] -name = "proc-macro-hack" -version = "0.5.20+deprecated" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" - -[[package]] -name = "proc-macro2" -version = "1.0.49" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57a8eca9f9c4ffde41714334dee777596264c7825420f521abc92b5b5deb63a5" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "procfs" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab8809e0c18450a2db0f236d2a44ec0b4c1412d0eb936233579f0990faa5d5cd" -dependencies = [ - "bitflags", - "byteorder", - "flate2", - "hex", - "lazy_static", - "libc", -] - -[[package]] -name = "prometheus" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5986aa8d62380092d2f50f8b1cdba9cb9b6731ffd4b25b51fd126b6c3e05b99c" -dependencies = [ - "cfg-if 1.0.0", - "fnv", - "lazy_static", - "libc", - "memchr", - "parking_lot 0.11.2", - "procfs", - "protobuf", - "thiserror", -] - -[[package]] -name = "prometheus" -version = "0.13.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "449811d15fbdf5ceb5c1144416066429cf82316e2ec8ce0c1f6f8a02e7bbcf8c" -dependencies = [ - "cfg-if 1.0.0", - "fnv", - "lazy_static", - "memchr", - "parking_lot 0.12.1", - "thiserror", -] - -[[package]] -name = "prometheus-client" -version = "0.18.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83cd1b99916654a69008fd66b4f9397fbe08e6e51dfe23d4417acf5d3b8cb87c" -dependencies = [ - "dtoa", - "itoa", - "parking_lot 0.12.1", - "prometheus-client-derive-text-encode", -] - -[[package]] -name = "prometheus-client-derive-text-encode" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66a455fbcb954c1a7decf3c586e860fd7889cddf4b8e164be736dbac95a953cd" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "prost" -version = "0.11.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c01db6702aa05baa3f57dec92b8eeeeb4cb19e894e73996b32a4093289e54592" -dependencies = [ - "bytes", - "prost-derive", -] - -[[package]] -name = "prost-build" -version = "0.11.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb5320c680de74ba083512704acb90fe00f28f79207286a848e730c45dd73ed6" -dependencies = [ - "bytes", - "heck", - "itertools", - "lazy_static", - "log", - "multimap", - "petgraph", - "prettyplease", - "prost", - "prost-types", - "regex", - "syn", - "tempfile", - "which", -] - -[[package]] -name = "prost-codec" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dc34979ff898b6e141106178981ce2596c387ea6e62533facfc61a37fc879c0" -dependencies = [ - "asynchronous-codec", - "bytes", - "prost", - "thiserror", - "unsigned-varint", -] - -[[package]] -name = "prost-derive" -version = "0.11.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8842bad1a5419bca14eac663ba798f6bc19c413c2fdceb5f3ba3b0932d96720" -dependencies = [ - "anyhow", - "itertools", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "prost-types" -version = "0.11.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "017f79637768cde62820bc2d4fe0e45daaa027755c323ad077767c6c5f173091" -dependencies = [ - "bytes", - "prost", -] - -[[package]] -name = "protobuf" -version = "2.28.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "106dd99e98437432fed6519dedecfade6a06a73bb7b2a1e019fdd2bee5778d94" - -[[package]] -name = "psm" -version = "0.1.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" -dependencies = [ - "cc", -] - -[[package]] -name = "quanta" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20afe714292d5e879d8b12740aa223c6a88f118af41870e8b6196e39a02238a8" -dependencies = [ - "crossbeam-utils", - "libc", - "mach", - "once_cell", - "raw-cpuid", - "wasi 0.10.2+wasi-snapshot-preview1", - "web-sys", - "winapi", -] - -[[package]] -name = "quick-error" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" - -[[package]] -name = "quicksink" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77de3c815e5a160b1539c6592796801df2043ae35e123b46d73380cfa57af858" -dependencies = [ - "futures-core", - "futures-sink", - "pin-project-lite 0.1.12", -] - -[[package]] -name = "quinn-proto" -version = "0.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72ef4ced82a24bb281af338b9e8f94429b6eca01b4e66d899f40031f074e74c9" -dependencies = [ - "bytes", - "rand 0.8.5", - "ring", - "rustc-hash", - "rustls 0.20.7", - "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]] -name = "radium" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" - -[[package]] -name = "rand" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "552840b97013b1a26992c11eac34bdd778e464601a4c2054b5f0bff7c6761293" -dependencies = [ - "fuchsia-cprng", - "libc", - "rand_core 0.3.1", - "rdrand", - "winapi", -] - -[[package]] -name = "rand" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" -dependencies = [ - "getrandom 0.1.16", - "libc", - "rand_chacha 0.2.2", - "rand_core 0.5.1", - "rand_hc", -] - -[[package]] -name = "rand" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -dependencies = [ - "libc", - "rand_chacha 0.3.1", - "rand_core 0.6.4", -] - -[[package]] -name = "rand_chacha" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" -dependencies = [ - "ppv-lite86", - "rand_core 0.5.1", -] - -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core 0.6.4", -] - -[[package]] -name = "rand_core" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b" -dependencies = [ - "rand_core 0.4.2", -] - -[[package]] -name = "rand_core" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc" - -[[package]] -name = "rand_core" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" -dependencies = [ - "getrandom 0.1.16", -] - -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom 0.2.8", -] - -[[package]] -name = "rand_distr" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" -dependencies = [ - "num-traits", - "rand 0.8.5", -] - -[[package]] -name = "rand_hc" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" -dependencies = [ - "rand_core 0.5.1", -] - -[[package]] -name = "rand_pcg" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59cad018caf63deb318e5a4586d99a24424a364f40f1e5778c29aca23f4fc73e" -dependencies = [ - "rand_core 0.6.4", -] - -[[package]] -name = "raw-cpuid" -version = "10.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6823ea29436221176fe662da99998ad3b4db2c7f31e7b6f5fe43adccd6320bb" -dependencies = [ - "bitflags", -] - -[[package]] -name = "rawpointer" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" - -[[package]] -name = "rayon" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db3a213adf02b3bcfd2d3846bb41cb22857d131789e01df434fb7e7bc0759b7" -dependencies = [ - "either", - "rayon-core", -] - -[[package]] -name = "rayon-core" -version = "1.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cac410af5d00ab6884528b4ab69d1e8e146e8d471201800fa1b4524126de6ad3" -dependencies = [ - "crossbeam-channel", - "crossbeam-deque", - "crossbeam-utils", - "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.20", - "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.20", - "yasna", -] - -[[package]] -name = "rdrand" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2" -dependencies = [ - "rand_core 0.3.1", -] - -[[package]] -name = "redeem" -version = "1.0.0" -dependencies = [ - "currency", - "fee", - "frame-benchmarking", - "frame-support", - "frame-system", - "mocktopus", - "oracle", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp", - "parity-scale-codec", - "reward", - "scale-info", - "security", - "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "spacewalk-primitives", - "staking", - "stellar-relay", - "substrate-stellar-sdk", - "vault-registry", -] - -[[package]] -name = "redox_syscall" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" -dependencies = [ - "bitflags", -] - -[[package]] -name = "redox_users" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" -dependencies = [ - "getrandom 0.2.8", - "redox_syscall", - "thiserror", -] - -[[package]] -name = "ref-cast" -version = "1.0.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c78fb8c9293bcd48ef6fce7b4ca950ceaf21210de6e105a883ee280c0f7b9ed" -dependencies = [ - "ref-cast-impl", -] - -[[package]] -name = "ref-cast-impl" -version = "1.0.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f9c0c92af03644e4806106281fe2e068ac5bc0ae74a707266d06ea27bccee5f" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "regalloc2" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d43a209257d978ef079f3d446331d0f1794f5e0fc19b306a199983857833a779" -dependencies = [ - "fxhash", - "log", - "slice-group-by", - "smallvec", -] - -[[package]] -name = "regex" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e076559ef8e241f2ae3479e36f97bd5741c0330689e217ad51ce2c76808b868a" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-automata" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" -dependencies = [ - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.6.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848" - -[[package]] -name = "remove_dir_all" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" -dependencies = [ - "winapi", -] - -[[package]] -name = "replace" -version = "1.0.0" -dependencies = [ - "currency", - "fee", - "frame-benchmarking", - "frame-support", - "frame-system", - "mocktopus", - "nomination", - "oracle", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp", - "parity-scale-codec", - "reward", - "scale-info", - "security", - "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "spacewalk-primitives", - "staking", - "stellar-relay", - "substrate-stellar-sdk", - "vault-registry", -] - -[[package]] -name = "reqwest" -version = "0.11.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68cc60575865c7831548863cc02356512e3f1dc2f3f82cb837d7fc4cc8f3c97c" -dependencies = [ - "base64", - "bytes", - "encoding_rs", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "hyper", - "hyper-tls", - "ipnet", - "js-sys", - "log", - "mime", - "native-tls", - "once_cell", - "percent-encoding 2.2.0", - "pin-project-lite 0.2.9", - "serde", - "serde_json", - "serde_urlencoded", - "tokio", - "tokio-native-tls", - "tower-service", - "url 2.3.1", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", - "winreg", -] - -[[package]] -name = "resolv-conf" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52e44394d2086d010551b14b53b1f24e31647570cd1deb0379e2c21b329aba00" -dependencies = [ - "hostname", - "quick-error", -] - -[[package]] -name = "reward" -version = "1.0.0" -dependencies = [ - "currency", - "frame-benchmarking", - "frame-support", - "frame-system", - "mocktopus", - "pallet-timestamp", - "parity-scale-codec", - "rand 0.8.5", - "scale-info", - "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "spacewalk-primitives", -] - -[[package]] -name = "rfc6979" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb" -dependencies = [ - "crypto-bigint", - "hmac 0.12.1", - "zeroize", -] - -[[package]] -name = "ring" -version = "0.16.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc" -dependencies = [ - "cc", - "libc", - "once_cell", - "spin 0.5.2", - "untrusted", - "web-sys", - "winapi", -] - -[[package]] -name = "rocksdb" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e9562ea1d70c0cc63a34a22d977753b50cca91cc6b6527750463bd5dd8697bc" -dependencies = [ - "libc", - "librocksdb-sys", -] - -[[package]] -name = "rpassword" -version = "7.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6678cf63ab3491898c0d021b493c94c9b221d91295294a2a5746eacbe5928322" -dependencies = [ - "libc", - "rtoolbox", - "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 = [ - "futures 0.3.25", - "log", - "netlink-packet-route", - "netlink-proto", - "nix", - "thiserror", - "tokio", -] - -[[package]] -name = "rtoolbox" -version = "0.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "034e22c514f5c0cb8a10ff341b9b048b5ceb21591f31c8f44c43b960f9b3524a" -dependencies = [ - "libc", - "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 = "runtime" -version = "1.1.0" -dependencies = [ - "async-trait", - "backoff", - "cfg-if 1.0.0", - "clap 3.2.23", - "env_logger 0.8.4", - "frame-support", - "futures 0.3.25", - "jsonrpsee", - "log", - "module-oracle-rpc-runtime-api", - "oracle", - "parity-scale-codec", - "prometheus 0.12.0", - "rand 0.7.3", - "runtime", - "serde", - "serde_json", - "sp-arithmetic", - "sp-keyring", - "sp-runtime", - "sp-std", - "sp-version", - "spacewalk-primitives", - "spacewalk-runtime-standalone", - "spacewalk-standalone", - "substrate-stellar-sdk", - "subxt", - "subxt-client", - "tempdir", - "thiserror", - "tokio", - "url 2.3.1", - "wallet", -] - -[[package]] -name = "rustc-demangle" -version = "0.1.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" - -[[package]] -name = "rustc-hash" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" - -[[package]] -name = "rustc-hex" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" - -[[package]] -name = "rustc_version" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" -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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "727a1a6d65f786ec22df8a81ca3121107f235970dc1705ed681d3e6e8b9cd5f9" -dependencies = [ - "bitflags", - "errno", - "io-lifetimes 0.7.5", - "libc", - "linux-raw-sys 0.0.46", - "windows-sys 0.42.0", -] - -[[package]] -name = "rustix" -version = "0.36.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3807b5d10909833d3e9acd1eb5fb988f79376ff10fce42937de71a449c4c588" -dependencies = [ - "bitflags", - "errno", - "io-lifetimes 1.0.3", - "libc", - "linux-raw-sys 0.1.4", - "windows-sys 0.42.0", -] - -[[package]] -name = "rustls" -version = "0.19.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" -dependencies = [ - "base64", - "log", - "ring", - "sct 0.6.1", - "webpki 0.21.4", -] - -[[package]] -name = "rustls" -version = "0.20.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "539a2bfe908f471bfa933876bd1eb6a19cf2176d375f82ef7f99530a40e48c2c" -dependencies = [ - "log", - "ring", - "sct 0.7.0", - "webpki 0.22.0", -] - -[[package]] -name = "rustls-native-certs" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0167bac7a9f490495f3c33013e7722b53cb087ecbe082fb0c6387c96f634ea50" -dependencies = [ - "openssl-probe", - "rustls-pemfile 1.0.1", - "schannel", - "security-framework", -] - -[[package]] -name = "rustls-pemfile" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5eebeaeb360c87bfb72e84abdb3447159c0eaececf1bef2aecd65a8be949d1c9" -dependencies = [ - "base64", -] - -[[package]] -name = "rustls-pemfile" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0864aeff53f8c05aa08d86e5ef839d3dfcf07aeba2db32f12db0ef716e87bd55" -dependencies = [ - "base64", -] - -[[package]] -name = "rustversion" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5583e89e108996506031660fe09baa5011b9dd0341b89029313006d1fb508d70" - -[[package]] -name = "rw-stream-sink" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26338f5e09bb721b85b135ea05af7767c90b52f6de4f087d4f4a3a9d64e7dc04" -dependencies = [ - "futures 0.3.25", - "pin-project", - "static_assertions", -] - -[[package]] -name = "ryu" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b4b9743ed687d4b4bcedf9ff5eaa7398495ae14e61cba0a295704edbc7decde" - -[[package]] -name = "safemem" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072" - -[[package]] -name = "same-file" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "sc-allocator" -version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "log", - "sp-core", - "sp-wasm-interface", - "thiserror", -] - -[[package]] -name = "sc-basic-authorship" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "futures 0.3.25", - "futures-timer", - "log", - "parity-scale-codec", - "sc-block-builder", - "sc-client-api", - "sc-proposer-metrics", - "sc-telemetry", - "sc-transaction-pool-api", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-inherents", - "sp-runtime", - "substrate-prometheus-endpoint", -] - -[[package]] -name = "sc-block-builder" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "parity-scale-codec", - "sc-client-api", - "sp-api", - "sp-block-builder", - "sp-blockchain", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", -] - -[[package]] -name = "sc-chain-spec" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "memmap2", - "sc-chain-spec-derive", - "sc-network-common", - "sc-telemetry", - "serde", - "serde_json", - "sp-core", - "sp-runtime", -] - -[[package]] -name = "sc-chain-spec-derive" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "sc-cli" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "array-bytes", - "chrono", - "clap 4.0.30", - "fdlimit", - "futures 0.3.25", - "libp2p", - "log", - "names", - "parity-scale-codec", - "rand 0.8.5", - "regex", - "rpassword", - "sc-client-api", - "sc-client-db", - "sc-keystore", - "sc-network", - "sc-network-common", - "sc-service", - "sc-telemetry", - "sc-tracing", - "sc-utils", - "serde", - "serde_json", - "sp-blockchain", - "sp-core", - "sp-keyring", - "sp-keystore", - "sp-panic-handler", - "sp-runtime", - "sp-version", - "thiserror", - "tiny-bip39", - "tokio", -] - -[[package]] -name = "sc-client-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "fnv", - "futures 0.3.25", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "sc-executor", - "sc-transaction-pool-api", - "sc-utils", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-database", - "sp-externalities", - "sp-keystore", - "sp-runtime", - "sp-state-machine", - "sp-storage", - "substrate-prometheus-endpoint", -] - -[[package]] -name = "sc-client-db" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "hash-db", - "kvdb", - "kvdb-memorydb", - "kvdb-rocksdb", - "linked-hash-map", - "log", - "parity-db", - "parity-scale-codec", - "parking_lot 0.12.1", - "sc-client-api", - "sc-state-db", - "sp-arithmetic", - "sp-blockchain", - "sp-core", - "sp-database", - "sp-runtime", - "sp-state-machine", - "sp-trie", -] - -[[package]] -name = "sc-consensus" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "async-trait", - "futures 0.3.25", - "futures-timer", - "libp2p", - "log", - "mockall 0.11.3", - "parking_lot 0.12.1", - "sc-client-api", - "sc-utils", - "serde", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-runtime", - "sp-state-machine", - "substrate-prometheus-endpoint", - "thiserror", -] - -[[package]] -name = "sc-consensus-aura" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "async-trait", - "futures 0.3.25", - "log", - "parity-scale-codec", - "sc-block-builder", - "sc-client-api", - "sc-consensus", - "sc-consensus-slots", - "sc-telemetry", - "sp-api", - "sp-application-crypto", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", - "sp-consensus-aura", - "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", - "substrate-prometheus-endpoint", - "thiserror", -] - -[[package]] -name = "sc-consensus-babe" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "async-trait", - "fork-tree", - "futures 0.3.25", - "log", - "merlin", - "num-bigint", - "num-rational", - "num-traits", - "parity-scale-codec", - "parking_lot 0.12.1", - "sc-client-api", - "sc-consensus", - "sc-consensus-epochs", - "sc-consensus-slots", - "sc-keystore", - "sc-telemetry", - "schnorrkel", - "sp-api", - "sp-application-crypto", - "sp-block-builder", - "sp-blockchain", - "sp-consensus", - "sp-consensus-babe", - "sp-consensus-slots", - "sp-consensus-vrf", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", - "substrate-prometheus-endpoint", - "thiserror", -] - -[[package]] -name = "sc-consensus-epochs" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "fork-tree", - "parity-scale-codec", - "sc-client-api", - "sc-consensus", - "sp-blockchain", - "sp-runtime", -] - -[[package]] -name = "sc-consensus-manual-seal" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "assert_matches", - "async-trait", - "futures 0.3.25", - "jsonrpsee", - "log", - "parity-scale-codec", - "sc-client-api", - "sc-consensus", - "sc-consensus-aura", - "sc-consensus-babe", - "sc-consensus-epochs", - "sc-transaction-pool", - "sc-transaction-pool-api", - "serde", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-consensus-aura", - "sp-consensus-babe", - "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", - "sp-timestamp", - "substrate-prometheus-endpoint", - "thiserror", -] - -[[package]] -name = "sc-consensus-slots" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "async-trait", - "futures 0.3.25", - "futures-timer", - "log", - "parity-scale-codec", - "sc-client-api", - "sc-consensus", - "sc-telemetry", - "sp-arithmetic", - "sp-blockchain", - "sp-consensus", - "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", -] - -[[package]] -name = "sc-executor" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "lru", - "parity-scale-codec", - "parking_lot 0.12.1", - "sc-executor-common", - "sc-executor-wasmi", - "sc-executor-wasmtime", - "sp-api", - "sp-core", - "sp-externalities", - "sp-io", - "sp-panic-handler", - "sp-runtime-interface", - "sp-trie", - "sp-version", - "sp-wasm-interface", - "tracing", - "wasmi", -] - -[[package]] -name = "sc-executor-common" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "sc-allocator", - "sp-maybe-compressed-blob", - "sp-wasm-interface", - "thiserror", - "wasm-instrument", - "wasmi", -] - -[[package]] -name = "sc-executor-wasmi" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "log", - "sc-allocator", - "sc-executor-common", - "sp-runtime-interface", - "sp-wasm-interface", - "wasmi", -] - -[[package]] -name = "sc-executor-wasmtime" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "log", - "once_cell", - "rustix 0.35.13", - "sc-allocator", - "sc-executor-common", - "sp-runtime-interface", - "sp-wasm-interface", - "wasmtime", -] - -[[package]] -name = "sc-finality-grandpa" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "ahash", - "array-bytes", - "async-trait", - "dyn-clone", - "finality-grandpa", - "fork-tree", - "futures 0.3.25", - "futures-timer", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "rand 0.8.5", - "sc-block-builder", - "sc-chain-spec", - "sc-client-api", - "sc-consensus", - "sc-network", - "sc-network-common", - "sc-network-gossip", - "sc-telemetry", - "sc-utils", - "serde_json", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-finality-grandpa", - "sp-keystore", - "sp-runtime", - "substrate-prometheus-endpoint", - "thiserror", -] - -[[package]] -name = "sc-informant" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "ansi_term", - "futures 0.3.25", - "futures-timer", - "log", - "sc-client-api", - "sc-network-common", - "sp-blockchain", - "sp-runtime", -] - -[[package]] -name = "sc-keystore" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "array-bytes", - "async-trait", - "parking_lot 0.12.1", - "serde_json", - "sp-application-crypto", - "sp-core", - "sp-keystore", - "thiserror", -] - -[[package]] -name = "sc-network" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "array-bytes", - "async-trait", - "asynchronous-codec", - "backtrace", - "bytes", - "either", - "fnv", - "futures 0.3.25", - "futures-timer", - "ip_network", - "libp2p", - "log", - "lru", - "parity-scale-codec", - "parking_lot 0.12.1", - "pin-project", - "rand 0.8.5", - "sc-block-builder", - "sc-client-api", - "sc-consensus", - "sc-network-common", - "sc-peerset", - "sc-utils", - "serde", - "serde_json", - "smallvec", - "sp-arithmetic", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-runtime", - "substrate-prometheus-endpoint", - "thiserror", - "unsigned-varint", - "zeroize", -] - -[[package]] -name = "sc-network-bitswap" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "cid", - "futures 0.3.25", - "libp2p", - "log", - "prost", - "prost-build", - "sc-client-api", - "sc-network-common", - "sp-blockchain", - "sp-runtime", - "thiserror", - "unsigned-varint", -] - -[[package]] -name = "sc-network-common" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "async-trait", - "bitflags", - "bytes", - "futures 0.3.25", - "futures-timer", - "libp2p", - "linked_hash_set", - "parity-scale-codec", - "prost-build", - "sc-consensus", - "sc-peerset", - "serde", - "smallvec", - "sp-blockchain", - "sp-consensus", - "sp-finality-grandpa", - "sp-runtime", - "substrate-prometheus-endpoint", - "thiserror", -] - -[[package]] -name = "sc-network-gossip" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "ahash", - "futures 0.3.25", - "futures-timer", - "libp2p", - "log", - "lru", - "sc-network-common", - "sc-peerset", - "sp-runtime", - "substrate-prometheus-endpoint", - "tracing", -] - -[[package]] -name = "sc-network-light" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "array-bytes", - "futures 0.3.25", - "libp2p", - "log", - "parity-scale-codec", - "prost", - "prost-build", - "sc-client-api", - "sc-network-common", - "sc-peerset", - "sp-blockchain", - "sp-core", - "sp-runtime", - "thiserror", -] - -[[package]] -name = "sc-network-sync" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "array-bytes", - "async-trait", - "fork-tree", - "futures 0.3.25", - "libp2p", - "log", - "lru", - "mockall 0.11.3", - "parity-scale-codec", - "prost", - "prost-build", - "sc-client-api", - "sc-consensus", - "sc-network-common", - "sc-peerset", - "sc-utils", - "smallvec", - "sp-arithmetic", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-finality-grandpa", - "sp-runtime", - "substrate-prometheus-endpoint", - "thiserror", -] - -[[package]] -name = "sc-network-transactions" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "array-bytes", - "futures 0.3.25", - "libp2p", - "log", - "parity-scale-codec", - "pin-project", - "sc-network-common", - "sc-peerset", - "sc-utils", - "sp-consensus", - "sp-runtime", - "substrate-prometheus-endpoint", -] - -[[package]] -name = "sc-offchain" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "array-bytes", - "bytes", - "fnv", - "futures 0.3.25", - "futures-timer", - "hyper", - "hyper-rustls", - "libp2p", - "num_cpus", - "once_cell", - "parity-scale-codec", - "parking_lot 0.12.1", - "rand 0.8.5", - "sc-client-api", - "sc-network-common", - "sc-peerset", - "sc-utils", - "sp-api", - "sp-core", - "sp-offchain", - "sp-runtime", - "threadpool", - "tracing", -] - -[[package]] -name = "sc-peerset" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "futures 0.3.25", - "libp2p", - "log", - "sc-utils", - "serde_json", - "wasm-timer", -] - -[[package]] -name = "sc-proposer-metrics" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "log", - "substrate-prometheus-endpoint", -] - -[[package]] -name = "sc-rpc" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "futures 0.3.25", - "jsonrpsee", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "sc-block-builder", - "sc-chain-spec", - "sc-client-api", - "sc-rpc-api", - "sc-tracing", - "sc-transaction-pool-api", - "sc-utils", - "serde_json", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-keystore", - "sp-offchain", - "sp-rpc", - "sp-runtime", - "sp-session", - "sp-version", -] - -[[package]] -name = "sc-rpc-api" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "jsonrpsee", - "parity-scale-codec", - "sc-chain-spec", - "sc-transaction-pool-api", - "scale-info", - "serde", - "serde_json", - "sp-core", - "sp-rpc", - "sp-runtime", - "sp-version", - "thiserror", -] - -[[package]] -name = "sc-rpc-server" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "http", - "jsonrpsee", - "log", - "serde_json", - "substrate-prometheus-endpoint", - "tokio", - "tower", - "tower-http", -] - -[[package]] -name = "sc-rpc-spec-v2" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "array-bytes", - "futures 0.3.25", - "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/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "async-trait", - "directories", - "exit-future", - "futures 0.3.25", - "futures-timer", - "jsonrpsee", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "pin-project", - "rand 0.8.5", - "sc-block-builder", - "sc-chain-spec", - "sc-client-api", - "sc-client-db", - "sc-consensus", - "sc-executor", - "sc-informant", - "sc-keystore", - "sc-network", - "sc-network-bitswap", - "sc-network-common", - "sc-network-light", - "sc-network-sync", - "sc-network-transactions", - "sc-offchain", - "sc-rpc", - "sc-rpc-server", - "sc-rpc-spec-v2", - "sc-sysinfo", - "sc-telemetry", - "sc-tracing", - "sc-transaction-pool", - "sc-transaction-pool-api", - "sc-utils", - "serde", - "serde_json", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-externalities", - "sp-keystore", - "sp-runtime", - "sp-session", - "sp-state-machine", - "sp-storage", - "sp-transaction-pool", - "sp-transaction-storage-proof", - "sp-trie", - "sp-version", - "static_init", - "substrate-prometheus-endpoint", - "tempfile", - "thiserror", - "tokio", - "tracing", - "tracing-futures", -] - -[[package]] -name = "sc-state-db" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "sp-core", -] - -[[package]] -name = "sc-sysinfo" -version = "6.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "futures 0.3.25", - "libc", - "log", - "rand 0.8.5", - "rand_pcg", - "regex", - "sc-telemetry", - "serde", - "serde_json", - "sp-core", - "sp-io", - "sp-std", -] - -[[package]] -name = "sc-telemetry" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "chrono", - "futures 0.3.25", - "libp2p", - "log", - "parking_lot 0.12.1", - "pin-project", - "rand 0.8.5", - "sc-utils", - "serde", - "serde_json", - "thiserror", - "wasm-timer", -] - -[[package]] -name = "sc-tracing" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "ansi_term", - "atty", - "chrono", - "lazy_static", - "libc", - "log", - "once_cell", - "parking_lot 0.12.1", - "regex", - "rustc-hash", - "sc-client-api", - "sc-rpc-server", - "sc-tracing-proc-macro", - "serde", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-rpc", - "sp-runtime", - "sp-tracing", - "thiserror", - "tracing", - "tracing-log", - "tracing-subscriber", -] - -[[package]] -name = "sc-tracing-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "sc-transaction-pool" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "async-trait", - "futures 0.3.25", - "futures-timer", - "linked-hash-map", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "sc-client-api", - "sc-transaction-pool-api", - "sc-utils", - "serde", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-tracing", - "sp-transaction-pool", - "substrate-prometheus-endpoint", - "thiserror", -] - -[[package]] -name = "sc-transaction-pool-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "async-trait", - "futures 0.3.25", - "log", - "serde", - "sp-blockchain", - "sp-runtime", - "thiserror", -] - -[[package]] -name = "sc-utils" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "backtrace", - "futures 0.3.25", - "futures-timer", - "lazy_static", - "log", - "parking_lot 0.12.1", - "prometheus 0.13.3", -] - -[[package]] -name = "scale-bits" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8dd7aca73785181cc41f0bbe017263e682b585ca660540ba569133901d013ecf" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", -] - -[[package]] -name = "scale-decode" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d823d4be477fc33321f93d08fb6c2698273d044f01362dc27573a750deb7c233" -dependencies = [ - "parity-scale-codec", - "scale-bits", - "scale-info", - "thiserror", -] - -[[package]] -name = "scale-info" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "001cf62ece89779fd16105b5f515ad0e5cedcd5440d3dd806bb067978e7c3608" -dependencies = [ - "bitvec", - "cfg-if 1.0.0", - "derive_more", - "parity-scale-codec", - "scale-info-derive", - "serde", -] - -[[package]] -name = "scale-info-derive" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "303959cf613a6f6efd19ed4b4ad5bf79966a13352716299ad532cfb115f4205c" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "scale-value" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16a5e7810815bd295da73e4216d1dfbced3c7c7c7054d70fa5f6e4c58123fff4" -dependencies = [ - "either", - "frame-metadata", - "parity-scale-codec", - "scale-bits", - "scale-decode", - "scale-info", - "serde", - "thiserror", - "yap", -] - -[[package]] -name = "schannel" -version = "0.1.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88d6731146462ea25d9244b2ed5fd1d716d25c52e4d54aa4fb0f3c4e9854dbe2" -dependencies = [ - "lazy_static", - "windows-sys 0.36.1", -] - -[[package]] -name = "schnorrkel" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "021b403afe70d81eea68f6ea12f6b3c9588e5d536a94c3bf80f15e7faa267862" -dependencies = [ - "arrayref", - "arrayvec 0.5.2", - "curve25519-dalek 2.1.3", - "getrandom 0.1.16", - "merlin", - "rand 0.7.3", - "rand_core 0.5.1", - "sha2 0.8.2", - "subtle", - "zeroize", -] - -[[package]] -name = "scoped-tls" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" - -[[package]] -name = "scopeguard" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" - -[[package]] -name = "scratch" -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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" -dependencies = [ - "ring", - "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 2.3.1", -] - -[[package]] -name = "sec1" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928" -dependencies = [ - "base16ct", - "der", - "generic-array 0.14.6", - "pkcs8", - "subtle", - "zeroize", -] - -[[package]] -name = "secp256k1" -version = "0.24.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9512ffd81e3a3503ed401f79c33168b9148c75038956039166cd750eaa037c3" -dependencies = [ - "secp256k1-sys", -] - -[[package]] -name = "secp256k1-sys" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83080e2c2fc1006e625be82e5d1eb6a43b7fd9578b617fcc55814daf286bba4b" -dependencies = [ - "cc", -] - -[[package]] -name = "secrecy" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e" -dependencies = [ - "zeroize", -] - -[[package]] -name = "security" -version = "1.2.0" -dependencies = [ - "frame-support", - "frame-system", - "mocktopus", - "parity-scale-codec", - "scale-info", - "serde", - "sha2 0.8.2", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "security-framework" -version = "2.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bc1bb97804af6631813c55739f771071e0f2ed33ee20b68c86ec505d906356c" -dependencies = [ - "bitflags", - "core-foundation", - "core-foundation-sys", - "libc", - "security-framework-sys", -] - -[[package]] -name = "security-framework-sys" -version = "2.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0160a13a177a45bfb43ce71c01580998474f556ad854dcbca936dd2841a5c556" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "semver" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a3186ec9e65071a2095434b1f5bb24838d4e8e130f584c790f6033c79943537" -dependencies = [ - "semver-parser", -] - -[[package]] -name = "semver" -version = "1.0.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58bc9567378fc7690d6b2addae4e60ac2eeea07becb2c64b9f218b53865cba2a" -dependencies = [ - "serde", -] - -[[package]] -name = "semver-parser" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" - -[[package]] -name = "send_wrapper" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f638d531eccd6e23b980caf34876660d38e265409d8e99b397ab71eb3612fad0" - -[[package]] -name = "serde" -version = "1.0.152" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb7d1f0d3021d347a83e556fc4683dea2ea09d87bccdf88ff5c12545d89d5efb" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.152" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af487d118eecd09402d70a5d72551860e788df87b464af30e5ea6a38c75c541e" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serde_json" -version = "1.0.93" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cad406b69c91885b5107daf2c29572f6c8cdb3c66826821e286c533490c0bc76" -dependencies = [ - "itoa", - "ryu", - "serde", -] - -[[package]] -name = "serde_urlencoded" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" -dependencies = [ - "form_urlencoded", - "itoa", - "ryu", - "serde", -] - -[[package]] -name = "serde_with" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30d904179146de381af4c93d3af6ca4984b3152db687dacb9c3c35e86f39809c" -dependencies = [ - "base64", - "chrono", - "hex", - "indexmap", - "serde", - "serde_json", - "serde_with_macros", - "time 0.3.20", -] - -[[package]] -name = "serde_with_macros" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1966009f3c05f095697c537312f5415d1e3ed31ce0a56942bac4c771c5c335e" -dependencies = [ - "darling", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serial_test" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92761393ee4dc3ff8f4af487bd58f4307c9329bbedea02cac0089ad9c411e153" -dependencies = [ - "dashmap", - "futures 0.3.25", - "lazy_static", - "log", - "parking_lot 0.12.1", - "serial_test_derive", -] - -[[package]] -name = "serial_test_derive" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b6f5d1c3087fb119617cff2966fe3808a80e5eb59a8c1601d5994d66f4346a5" -dependencies = [ - "proc-macro-error", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "service" -version = "1.1.0" -dependencies = [ - "async-trait", - "clap 3.2.23", - "futures 0.3.25", - "governor", - "hyper", - "hyper-tls", - "nonzero_ext", - "runtime", - "serde", - "serde_json", - "thiserror", - "tokio", - "tracing", - "tracing-futures", - "tracing-subscriber", - "wallet", - "warp", -] - -[[package]] -name = "sha-1" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" -dependencies = [ - "block-buffer 0.9.0", - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.9.0", - "opaque-debug 0.3.0", -] - -[[package]] -name = "sha-1" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5058ada175748e33390e40e872bd0fe59a19f265d0158daa551c5a88a76009c" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.10.6", -] - -[[package]] -name = "sha1" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.10.6", -] - -[[package]] -name = "sha2" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69" -dependencies = [ - "block-buffer 0.7.3", - "digest 0.8.1", - "fake-simd", - "opaque-debug 0.2.3", -] - -[[package]] -name = "sha2" -version = "0.9.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" -dependencies = [ - "block-buffer 0.9.0", - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.9.0", - "opaque-debug 0.3.0", -] - -[[package]] -name = "sha2" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures", - "digest 0.10.6", -] - -[[package]] -name = "sha3" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdf0c33fae925bdc080598b84bc15c55e7b9a4a43b3c704da051f977469691c9" -dependencies = [ - "digest 0.10.6", - "keccak", -] - -[[package]] -name = "sharded-slab" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31" -dependencies = [ - "lazy_static", -] - -[[package]] -name = "shlex" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" - -[[package]] -name = "signal-hook" -version = "0.3.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a253b5e89e2698464fc26b545c9edceb338e18a89effeeecfea192c3025be29d" -dependencies = [ - "libc", - "signal-hook-registry", -] - -[[package]] -name = "signal-hook-registry" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0" -dependencies = [ - "libc", -] - -[[package]] -name = "signal-hook-tokio" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "213241f76fb1e37e27de3b6aa1b068a2c333233b59cca6634f634b80a27ecf1e" -dependencies = [ - "futures-core", - "libc", - "signal-hook", - "tokio", -] - -[[package]] -name = "signature" -version = "1.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" -dependencies = [ - "digest 0.10.6", - "rand_core 0.6.4", -] - -[[package]] -name = "simba" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e82063457853d00243beda9952e910b82593e4b07ae9f721b9278a99a0d3d5c" -dependencies = [ - "approx", - "num-complex", - "num-traits", - "paste", -] - -[[package]] -name = "slab" -version = "0.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4614a76b2a8be0058caa9dbbaf66d988527d86d003c11a94fbd335d7661edcef" -dependencies = [ - "autocfg", -] - -[[package]] -name = "slice-group-by" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03b634d87b960ab1a38c4fe143b508576f075e7c978bfad18217645ebfdfa2ec" - -[[package]] -name = "smallvec" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" - -[[package]] -name = "snap" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e9f0ab6ef7eb7353d9119c170a436d1bf248eea575ac42d19d12f4e34130831" - -[[package]] -name = "snow" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "774d05a3edae07ce6d68ea6984f3c05e9bba8927e3dd591e3b479e5b03213d0d" -dependencies = [ - "aes-gcm 0.9.4", - "blake2", - "chacha20poly1305", - "curve25519-dalek 4.0.0-pre.5", - "rand_core 0.6.4", - "ring", - "rustc_version", - "sha2 0.10.6", - "subtle", -] - -[[package]] -name = "socket2" -version = "0.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02e2d2db9033d13a1567121ddd7a095ee144db4e1ca1b1bda3419bc0da294ebd" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "sodalite" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41784a359d15c58bba298cccb7f30a847a1a42d0620c9bdaa0aa42fdb3c280e0" -dependencies = [ - "index-fixed", -] - -[[package]] -name = "soketto" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41d1c5305e39e09653383c2c7244f2f78b3bcae37cf50c64cb4789c9f5096ec2" -dependencies = [ - "base64", - "bytes", - "flate2", - "futures 0.3.25", - "http", - "httparse", - "log", - "rand 0.8.5", - "sha-1 0.9.8", -] - -[[package]] -name = "sp-api" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "hash-db", - "log", - "parity-scale-codec", - "sp-api-proc-macro", - "sp-core", - "sp-runtime", - "sp-state-machine", - "sp-std", - "sp-trie", - "sp-version", - "thiserror", -] - -[[package]] -name = "sp-api-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "blake2", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "sp-application-crypto" -version = "7.0.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-std", -] - -[[package]] -name = "sp-arithmetic" -version = "6.0.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "integer-sqrt", - "num-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-std", - "static_assertions", -] - -[[package]] -name = "sp-authorship" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "async-trait", - "parity-scale-codec", - "sp-inherents", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "sp-block-builder" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "parity-scale-codec", - "sp-api", - "sp-inherents", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "sp-blockchain" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "futures 0.3.25", - "log", - "lru", - "parity-scale-codec", - "parking_lot 0.12.1", - "sp-api", - "sp-consensus", - "sp-database", - "sp-runtime", - "sp-state-machine", - "thiserror", -] - -[[package]] -name = "sp-consensus" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "async-trait", - "futures 0.3.25", - "log", - "parity-scale-codec", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-state-machine", - "sp-std", - "sp-version", - "thiserror", -] - -[[package]] -name = "sp-consensus-aura" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "async-trait", - "parity-scale-codec", - "scale-info", - "sp-api", - "sp-application-crypto", - "sp-consensus", - "sp-consensus-slots", - "sp-inherents", - "sp-runtime", - "sp-std", - "sp-timestamp", -] - -[[package]] -name = "sp-consensus-babe" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "async-trait", - "merlin", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api", - "sp-application-crypto", - "sp-consensus", - "sp-consensus-slots", - "sp-consensus-vrf", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", - "sp-std", - "sp-timestamp", -] - -[[package]] -name = "sp-consensus-slots" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-std", - "sp-timestamp", -] - -[[package]] -name = "sp-consensus-vrf" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "parity-scale-codec", - "scale-info", - "schnorrkel", - "sp-core", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "sp-core" -version = "7.0.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "array-bytes", - "base58", - "bitflags", - "blake2", - "dyn-clonable", - "ed25519-zebra", - "futures 0.3.25", - "hash-db", - "hash256-std-hasher", - "impl-serde", - "lazy_static", - "libsecp256k1", - "log", - "merlin", - "parity-scale-codec", - "parking_lot 0.12.1", - "primitive-types", - "rand 0.8.5", - "regex", - "scale-info", - "schnorrkel", - "secp256k1", - "secrecy", - "serde", - "sp-core-hashing", - "sp-debug-derive", - "sp-externalities", - "sp-runtime-interface", - "sp-std", - "sp-storage", - "ss58-registry", - "substrate-bip39", - "thiserror", - "tiny-bip39", - "zeroize", -] - -[[package]] -name = "sp-core-hashing" -version = "5.0.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "blake2", - "byteorder", - "digest 0.10.6", - "sha2 0.10.6", - "sha3", - "sp-std", - "twox-hash", -] - -[[package]] -name = "sp-core-hashing-proc-macro" -version = "5.0.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "proc-macro2", - "quote", - "sp-core-hashing", - "syn", -] - -[[package]] -name = "sp-database" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "kvdb", - "parking_lot 0.12.1", -] - -[[package]] -name = "sp-debug-derive" -version = "5.0.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "sp-externalities" -version = "0.13.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "environmental", - "parity-scale-codec", - "sp-std", - "sp-storage", -] - -[[package]] -name = "sp-finality-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "finality-grandpa", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-keystore", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "sp-inherents" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "async-trait", - "impl-trait-for-tuples", - "parity-scale-codec", - "sp-core", - "sp-runtime", - "sp-std", - "thiserror", -] - -[[package]] -name = "sp-io" -version = "7.0.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "bytes", - "ed25519", - "ed25519-dalek", - "futures 0.3.25", - "libsecp256k1", - "log", - "parity-scale-codec", - "secp256k1", - "sp-core", - "sp-externalities", - "sp-keystore", - "sp-runtime-interface", - "sp-state-machine", - "sp-std", - "sp-tracing", - "sp-trie", - "tracing", - "tracing-core", -] - -[[package]] -name = "sp-keyring" -version = "7.0.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "lazy_static", - "sp-core", - "sp-runtime", - "strum", -] - -[[package]] -name = "sp-keystore" -version = "0.13.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "async-trait", - "futures 0.3.25", - "merlin", - "parity-scale-codec", - "parking_lot 0.12.1", - "schnorrkel", - "serde", - "sp-core", - "sp-externalities", - "thiserror", -] - -[[package]] -name = "sp-maybe-compressed-blob" -version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "thiserror", - "zstd", -] - -[[package]] -name = "sp-offchain" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "sp-api", - "sp-core", - "sp-runtime", -] - -[[package]] -name = "sp-panic-handler" -version = "5.0.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "backtrace", - "lazy_static", - "regex", -] - -[[package]] -name = "sp-rpc" -version = "6.0.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "rustc-hash", - "serde", - "sp-core", -] - -[[package]] -name = "sp-runtime" -version = "7.0.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "either", - "hash256-std-hasher", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "paste", - "rand 0.8.5", - "scale-info", - "serde", - "sp-application-crypto", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-std", - "sp-weights", -] - -[[package]] -name = "sp-runtime-interface" -version = "7.0.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec", - "primitive-types", - "sp-externalities", - "sp-runtime-interface-proc-macro", - "sp-std", - "sp-storage", - "sp-tracing", - "sp-wasm-interface", - "static_assertions", -] - -[[package]] -name = "sp-runtime-interface-proc-macro" -version = "6.0.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "Inflector", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "sp-session" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-api", - "sp-core", - "sp-runtime", - "sp-staking", - "sp-std", -] - -[[package]] -name = "sp-staking" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "sp-state-machine" -version = "0.13.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "hash-db", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "rand 0.8.5", - "smallvec", - "sp-core", - "sp-externalities", - "sp-panic-handler", - "sp-std", - "sp-trie", - "thiserror", - "tracing", -] - -[[package]] -name = "sp-std" -version = "5.0.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" - -[[package]] -name = "sp-storage" -version = "7.0.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "ref-cast", - "serde", - "sp-debug-derive", - "sp-std", -] - -[[package]] -name = "sp-timestamp" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "async-trait", - "futures-timer", - "log", - "parity-scale-codec", - "sp-inherents", - "sp-runtime", - "sp-std", - "thiserror", -] - -[[package]] -name = "sp-tracing" -version = "6.0.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "parity-scale-codec", - "sp-std", - "tracing", - "tracing-core", - "tracing-subscriber", -] - -[[package]] -name = "sp-transaction-pool" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "sp-api", - "sp-runtime", -] - -[[package]] -name = "sp-transaction-storage-proof" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "async-trait", - "log", - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-std", - "sp-trie", -] - -[[package]] -name = "sp-trie" -version = "7.0.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "ahash", - "hash-db", - "hashbrown", - "lazy_static", - "lru", - "memory-db", - "nohash-hasher", - "parity-scale-codec", - "parking_lot 0.12.1", - "scale-info", - "sp-core", - "sp-std", - "thiserror", - "tracing", - "trie-db", - "trie-root", -] - -[[package]] -name = "sp-version" -version = "5.0.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "parity-wasm", - "scale-info", - "serde", - "sp-core-hashing-proc-macro", - "sp-runtime", - "sp-std", - "sp-version-proc-macro", - "thiserror", -] - -[[package]] -name = "sp-version-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "parity-scale-codec", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "sp-wasm-interface" -version = "7.0.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "sp-std", - "wasmi", - "wasmtime", -] - -[[package]] -name = "sp-weights" -version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic", - "sp-core", - "sp-debug-derive", - "sp-std", -] - -[[package]] -name = "spacewalk-primitives" -version = "1.2.0" -dependencies = [ - "base58", - "bstringify", - "frame-support", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core", - "sp-runtime", - "sp-std", - "substrate-stellar-sdk", -] - -[[package]] -name = "spacewalk-rpc" -version = "1.2.0" -dependencies = [ - "jsonrpc-core", - "jsonrpsee", - "module-issue-rpc", - "module-oracle-rpc", - "module-redeem-rpc", - "module-replace-rpc", - "module-vault-registry-rpc", - "pallet-transaction-payment-rpc", - "sc-consensus-manual-seal", - "sc-rpc", - "sc-rpc-api", - "sc-transaction-pool-api", - "sp-api", - "sp-arithmetic", - "sp-block-builder", - "sp-blockchain", - "sp-core", - "spacewalk-primitives", - "substrate-frame-rpc-system", -] - -[[package]] -name = "spacewalk-runtime-standalone" -version = "1.2.0" -dependencies = [ - "cfg-if 1.0.0", - "currency", - "dia-oracle", - "fee", - "flate2", - "frame-benchmarking", - "frame-executive", - "frame-support", - "frame-system", - "frame-system-benchmarking", - "frame-system-rpc-runtime-api", - "getrandom 0.2.8", - "hex", - "hex-literal 0.3.4", - "issue", - "lazy_static", - "mocktopus", - "module-issue-rpc-runtime-api", - "module-oracle-rpc-runtime-api", - "module-redeem-rpc-runtime-api", - "module-replace-rpc-runtime-api", - "module-vault-registry-rpc-runtime-api", - "nomination", - "oracle", - "orml-currencies", - "orml-oracle", - "orml-tokens", - "orml-traits", - "pallet-aura", - "pallet-balances", - "pallet-grandpa", - "pallet-sudo", - "pallet-timestamp", - "pallet-transaction-payment", - "pallet-transaction-payment-rpc-runtime-api", - "parity-scale-codec", - "pretty_assertions", - "redeem", - "replace", - "reward", - "scale-info", - "security", - "serde_json", - "sp-api", - "sp-block-builder", - "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-io", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-std", - "sp-transaction-pool", - "sp-version", - "spacewalk-primitives", - "spin 0.9.4", - "staking", - "stellar-relay", - "substrate-wasm-builder", - "vault-registry", -] - -[[package]] -name = "spacewalk-standalone" -version = "1.2.0" -dependencies = [ - "clap 4.0.30", - "frame-benchmarking", - "frame-benchmarking-cli", - "frame-support", - "frame-system", - "futures 0.3.25", - "hex-literal 0.2.2", - "log", - "pallet-transaction-payment", - "parity-scale-codec", - "sc-basic-authorship", - "sc-cli", - "sc-client-api", - "sc-consensus", - "sc-consensus-aura", - "sc-consensus-manual-seal", - "sc-executor", - "sc-finality-grandpa", - "sc-keystore", - "sc-service", - "sc-telemetry", - "sc-transaction-pool", - "serde", - "serde_json", - "sp-api", - "sp-arithmetic", - "sp-block-builder", - "sp-consensus", - "sp-consensus-aura", - "sp-core", - "sp-finality-grandpa", - "sp-inherents", - "sp-io", - "sp-keyring", - "sp-keystore", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-timestamp", - "sp-transaction-pool", - "spacewalk-primitives", - "spacewalk-rpc", - "spacewalk-runtime-standalone", - "substrate-build-script-utils", - "substrate-stellar-sdk", -] - -[[package]] -name = "spin" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" - -[[package]] -name = "spin" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f6002a767bff9e83f8eeecf883ecb8011875a21ae8da43bffb817a57e78cc09" -dependencies = [ - "lock_api", -] - -[[package]] -name = "spki" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b" -dependencies = [ - "base64ct", - "der", -] - -[[package]] -name = "ss58-registry" -version = "1.36.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23d92659e7d18d82b803824a9ba5a6022cff101c3491d027c1c1d8d30e749284" -dependencies = [ - "Inflector", - "num-format", - "proc-macro2", - "quote", - "serde", - "serde_json", - "unicode-xid", -] - -[[package]] -name = "stable_deref_trait" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" - -[[package]] -name = "staking" -version = "1.0.0" -dependencies = [ - "currency", - "frame-benchmarking", - "frame-support", - "frame-system", - "mocktopus", - "orml-tokens", - "orml-traits", - "pallet-timestamp", - "parity-scale-codec", - "rand 0.8.5", - "scale-info", - "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "spacewalk-primitives", -] - -[[package]] -name = "static_assertions" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" - -[[package]] -name = "static_init" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a2a1c578e98c1c16fc3b8ec1328f7659a500737d7a0c6d625e73e830ff9c1f6" -dependencies = [ - "bitflags", - "cfg_aliases", - "libc", - "parking_lot 0.11.2", - "parking_lot_core 0.8.6", - "static_init_macro", - "winapi", -] - -[[package]] -name = "static_init_macro" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70a2595fc3aa78f2d0e45dd425b22282dd863273761cc77780914b2cf3003acf" -dependencies = [ - "cfg_aliases", - "memchr", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "statrs" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05bdbb8e4e78216a85785a85d3ec3183144f98d0097b9281802c019bb07a6f05" -dependencies = [ - "approx", - "lazy_static", - "nalgebra", - "num-traits", - "rand 0.8.5", -] - -[[package]] -name = "stellar-relay" -version = "1.0.0" -dependencies = [ - "base64", - "currency", - "frame-benchmarking", - "frame-support", - "frame-system", - "orml-tokens", - "orml-traits", - "parity-scale-codec", - "rand 0.8.5", - "scale-info", - "serde", - "sha2 0.10.6", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "spacewalk-primitives", - "substrate-stellar-sdk", -] - -[[package]] -name = "stellar-relay-lib" -version = "0.1.0" -dependencies = [ - "base64", - "env_logger 0.9.3", - "err-derive", - "hmac 0.12.1", - "log", - "rand 0.8.5", - "serde", - "serde_json", - "serde_with", - "serial_test", - "sha2 0.10.6", - "substrate-stellar-sdk", - "tokio", - "tweetnacl", -] - -[[package]] -name = "strsim" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" - -[[package]] -name = "strum" -version = "0.24.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f" -dependencies = [ - "strum_macros", -] - -[[package]] -name = "strum_macros" -version = "0.24.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "rustversion", - "syn", -] - -[[package]] -name = "stun" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7e94b1ec00bad60e6410e058b52f1c66de3dc5fe4d62d09b3e52bb7d3b73e25" -dependencies = [ - "base64", - "crc", - "lazy_static", - "md-5", - "rand 0.8.5", - "ring", - "subtle", - "thiserror", - "tokio", - "url 2.3.1", - "webrtc-util", -] - -[[package]] -name = "substrate-bip39" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49eee6965196b32f882dd2ee85a92b1dbead41b04e53907f269de3b0dc04733c" -dependencies = [ - "hmac 0.11.0", - "pbkdf2 0.8.0", - "schnorrkel", - "sha2 0.9.9", - "zeroize", -] - -[[package]] -name = "substrate-build-script-utils" -version = "3.0.0" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "platforms 2.0.0", -] - -[[package]] -name = "substrate-frame-rpc-system" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "frame-system-rpc-runtime-api", - "futures 0.3.25", - "jsonrpsee", - "log", - "parity-scale-codec", - "sc-rpc-api", - "sc-transaction-pool-api", - "sp-api", - "sp-block-builder", - "sp-blockchain", - "sp-core", - "sp-runtime", -] - -[[package]] -name = "substrate-prometheus-endpoint" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "hyper", - "log", - "prometheus 0.13.3", - "thiserror", - "tokio", -] - -[[package]] -name = "substrate-stellar-sdk" -version = "0.2.4" -source = "git+https://github.com/pendulum-chain/substrate-stellar-sdk?branch=polkadot-v0.9.37#e299b3936aad5dd457a8de9ca5aeaf194baf6641" -dependencies = [ - "base64", - "hex", - "lazy_static", - "num-rational", - "serde", - "serde_json", - "sha2 0.9.9", - "sodalite", - "sp-io", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "substrate-wasm-builder" -version = "5.0.0-dev" -source = "git+https://github.com/paritytech//substrate?branch=polkadot-v0.9.37#946507ba9ef13e263534176b7b74e26fc56efbd4" -dependencies = [ - "ansi_term", - "build-helper", - "cargo_metadata", - "filetime", - "sp-maybe-compressed-blob", - "strum", - "tempfile", - "toml", - "walkdir", - "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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" - -[[package]] -name = "subxt" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3cbc78fd36035a24883eada29e0205b9b1416172530a7d00a60c07d0337db0c" -dependencies = [ - "bitvec", - "derivative", - "frame-metadata", - "futures 0.3.25", - "getrandom 0.2.8", - "hex", - "jsonrpsee", - "parity-scale-codec", - "parking_lot 0.12.1", - "scale-decode", - "scale-info", - "scale-value", - "serde", - "serde_json", - "sp-core", - "sp-runtime", - "subxt-macro", - "subxt-metadata", - "thiserror", - "tracing", -] - -[[package]] -name = "subxt-client" -version = "0.1.0" -dependencies = [ - "futures 0.1.31", - "futures 0.3.25", - "jsonrpsee", - "jsonrpsee-core", - "jsonrpsee-types", - "log", - "sc-client-db", - "sc-network", - "sc-service", - "serde_json", - "sp-keyring", - "subxt", - "thiserror", - "tokio", -] - -[[package]] -name = "subxt-codegen" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7722c31febf55eb300c73d977da5d65cfd6fb443419b1185b9abcdd9925fd7be" -dependencies = [ - "darling", - "frame-metadata", - "heck", - "hex", - "jsonrpsee", - "parity-scale-codec", - "proc-macro-error", - "proc-macro2", - "quote", - "scale-info", - "subxt-metadata", - "syn", - "tokio", -] - -[[package]] -name = "subxt-macro" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f64826f2c4ba20e3b2a86ec81a6ae8655ca6b6a4c2a6ccc888b6615efc2df14" -dependencies = [ - "darling", - "proc-macro-error", - "subxt-codegen", - "syn", -] - -[[package]] -name = "subxt-metadata" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "869af75e23513538ad0af046af4a97b8d684e8d202e35ff4127ee061c1110813" -dependencies = [ - "frame-metadata", - "parity-scale-codec", - "scale-info", - "sp-core", -] - -[[package]] -name = "syn" -version = "1.0.107" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f4064b5b16e03ae50984a5a8ed5d4f8803e6bc1fd170a3cda91a1be4b18e3f5" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "synstructure" -version = "0.12.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "unicode-xid", -] - -[[package]] -name = "sysinfo" -version = "0.26.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29ddf41e393a9133c81d5f0974195366bd57082deac6e0eb02ed39b8341c2bb6" -dependencies = [ - "cfg-if 1.0.0", - "core-foundation-sys", - "libc", - "ntapi", - "once_cell", - "rayon", - "winapi", -] - -[[package]] -name = "system-configuration" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d75182f12f490e953596550b65ee31bda7c8e043d9386174b353bda50838c3fd" -dependencies = [ - "bitflags", - "core-foundation", - "system-configuration-sys", -] - -[[package]] -name = "system-configuration-sys" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "tap" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" - -[[package]] -name = "target-lexicon" -version = "0.12.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9410d0f6853b1d94f0e519fb95df60f29d2c1eff2d921ffdf01a4c8a3b54f12d" - -[[package]] -name = "tempdir" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15f2b5fb00ccdf689e0149d1b1b3c03fead81c2b37735d812fa8bddbbf41b6d8" -dependencies = [ - "rand 0.4.6", - "remove_dir_all", -] - -[[package]] -name = "tempfile" -version = "3.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4" -dependencies = [ - "cfg-if 1.0.0", - "fastrand", - "libc", - "redox_syscall", - "remove_dir_all", - "winapi", -] - -[[package]] -name = "termcolor" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "termtree" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95059e91184749cb66be6dc994f67f182b6d897cb3df74a5bf66b5e709295fd8" - -[[package]] -name = "textwrap" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" - -[[package]] -name = "thiserror" -version = "1.0.38" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a9cd18aa97d5c45c6603caea1da6628790b37f7a34b6ca89522331c5180fed0" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.38" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fb327af4685e4d03fa8cbcf1716380da910eeb2bb8be417e7f9fd3fb164f36f" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "thousands" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3bf63baf9f5039dadc247375c29eb13706706cfde997d0330d05aa63a77d8820" - -[[package]] -name = "thread_local" -version = "1.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180" -dependencies = [ - "once_cell", -] - -[[package]] -name = "threadpool" -version = "1.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d050e60b33d41c19108b32cea32164033a9013fe3b46cbd4457559bfbf77afaa" -dependencies = [ - "num_cpus", -] - -[[package]] -name = "tikv-jemalloc-sys" -version = "0.5.2+5.3.0-patched" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec45c14da997d0925c7835883e4d5c181f196fa142f8c19d7643d1e9af2592c3" -dependencies = [ - "cc", - "fs_extra", - "libc", -] - -[[package]] -name = "time" -version = "0.1.43" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "time" -version = "0.3.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd0cbfecb4d19b5ea75bb31ad904eb5b9fa13f21079c3b92017ebdf4999a5890" -dependencies = [ - "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.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd80a657e71da814b8e5d60d3374fc6d35045062245d80224748ae522dd76f36" -dependencies = [ - "time-core", -] - -[[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 = "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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" -dependencies = [ - "tinyvec_macros", -] - -[[package]] -name = "tinyvec_macros" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" - -[[package]] -name = "tokio" -version = "1.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eab6d665857cc6ca78d6e80303a02cea7a7851e85dfbd77cbdc09bd129f1ef46" -dependencies = [ - "autocfg", - "bytes", - "libc", - "memchr", - "mio", - "num_cpus", - "parking_lot 0.12.1", - "pin-project-lite 0.2.9", - "signal-hook-registry", - "socket2", - "tokio-macros", - "windows-sys 0.42.0", -] - -[[package]] -name = "tokio-macros" -version = "1.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d266c00fde287f55d3f1c3e96c500c362a2b8c695076ec180f27918820bc6df8" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tokio-metrics" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcb585a0069b53171684e22d5255984ec30d1c7304fd0a4a9a603ffd8c765cdd" -dependencies = [ - "futures-util", - "pin-project-lite 0.2.9", -] - -[[package]] -name = "tokio-native-tls" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7d995660bd2b7f8c1568414c1126076c13fbb725c40112dc0120b78eb9b717b" -dependencies = [ - "native-tls", - "tokio", -] - -[[package]] -name = "tokio-rustls" -version = "0.23.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" -dependencies = [ - "rustls 0.20.7", - "tokio", - "webpki 0.22.0", -] - -[[package]] -name = "tokio-stream" -version = "0.1.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d660770404473ccd7bc9f8b28494a811bc18542b915c0855c51e8f419d5223ce" -dependencies = [ - "futures-core", - "pin-project-lite 0.2.9", - "tokio", - "tokio-util", -] - -[[package]] -name = "tokio-tungstenite" -version = "0.17.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f714dd15bead90401d77e04243611caec13726c2408afd5b31901dfcdcb3b181" -dependencies = [ - "futures-util", - "log", - "tokio", - "tungstenite", -] - -[[package]] -name = "tokio-util" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bb2e075f03b3d66d8d8785356224ba688d2906a371015e225beeb65ca92c740" -dependencies = [ - "bytes", - "futures-core", - "futures-io", - "futures-sink", - "pin-project-lite 0.2.9", - "tokio", - "tracing", -] - -[[package]] -name = "toml" -version = "0.5.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1333c76748e868a4d9d1017b5ab53171dfd095f70c712fdb4653a406547f598f" -dependencies = [ - "serde", -] - -[[package]] -name = "tower" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" -dependencies = [ - "tower-layer", - "tower-service", - "tracing", -] - -[[package]] -name = "tower-http" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f873044bf02dd1e8239e9c1293ea39dad76dc594ec16185d0a1bf31d8dc8d858" -dependencies = [ - "bitflags", - "bytes", - "futures-core", - "futures-util", - "http", - "http-body", - "http-range-header", - "pin-project-lite 0.2.9", - "tower-layer", - "tower-service", -] - -[[package]] -name = "tower-layer" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0" - -[[package]] -name = "tower-service" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" - -[[package]] -name = "tracing" -version = "0.1.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" -dependencies = [ - "cfg-if 1.0.0", - "log", - "pin-project-lite 0.2.9", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4017f8f45139870ca7e672686113917c71c7a6e02d4924eda67186083c03081a" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tracing-core" -version = "0.1.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a" -dependencies = [ - "once_cell", - "valuable", -] - -[[package]] -name = "tracing-futures" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" -dependencies = [ - "pin-project", - "tracing", -] - -[[package]] -name = "tracing-log" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" -dependencies = [ - "lazy_static", - "log", - "tracing-core", -] - -[[package]] -name = "tracing-serde" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1" -dependencies = [ - "serde", - "tracing-core", -] - -[[package]] -name = "tracing-subscriber" -version = "0.2.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e0d2eaa99c3c2e41547cfa109e910a68ea03823cccad4a0525dcbc9b01e8c71" -dependencies = [ - "ansi_term", - "chrono", - "lazy_static", - "matchers", - "parking_lot 0.11.2", - "regex", - "serde", - "serde_json", - "sharded-slab", - "smallvec", - "thread_local", - "tracing", - "tracing-core", - "tracing-log", - "tracing-serde", -] - -[[package]] -name = "trie-db" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "004e1e8f92535694b4cb1444dc5a8073ecf0815e3357f729638b9f8fc4062908" -dependencies = [ - "hash-db", - "hashbrown", - "log", - "rustc-hex", - "smallvec", -] - -[[package]] -name = "trie-root" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a36c5ca3911ed3c9a5416ee6c679042064b93fc637ded67e25f92e68d783891" -dependencies = [ - "hash-db", -] - -[[package]] -name = "trust-dns-proto" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f7f83d1e4a0e4358ac54c5c3681e5d7da5efc5a7a632c90bb6d6669ddd9bc26" -dependencies = [ - "async-trait", - "cfg-if 1.0.0", - "data-encoding", - "enum-as-inner", - "futures-channel", - "futures-io", - "futures-util", - "idna 0.2.3", - "ipnet", - "lazy_static", - "rand 0.8.5", - "smallvec", - "socket2", - "thiserror", - "tinyvec", - "tokio", - "tracing", - "url 2.3.1", -] - -[[package]] -name = "trust-dns-resolver" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aff21aa4dcefb0a1afbfac26deb0adc93888c7d295fb63ab273ef276ba2b7cfe" -dependencies = [ - "cfg-if 1.0.0", - "futures-util", - "ipconfig", - "lazy_static", - "lru-cache", - "parking_lot 0.12.1", - "resolv-conf", - "smallvec", - "thiserror", - "tokio", - "tracing", - "trust-dns-proto", -] - -[[package]] -name = "try-lock" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" - -[[package]] -name = "tt-call" -version = "1.0.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4f195fd851901624eee5a58c4bb2b4f06399148fcd0ed336e6f1cb60a9881df" - -[[package]] -name = "tungstenite" -version = "0.17.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e27992fd6a8c29ee7eef28fc78349aa244134e10ad447ce3b9f0ac0ed0fa4ce0" -dependencies = [ - "base64", - "byteorder", - "bytes", - "http", - "httparse", - "log", - "rand 0.8.5", - "sha-1 0.10.1", - "thiserror", - "url 2.3.1", - "utf-8", -] - -[[package]] -name = "turn" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4712ee30d123ec7ae26d1e1b218395a16c87cdbaf4b3925d170d684af62ea5e8" -dependencies = [ - "async-trait", - "base64", - "futures 0.3.25", - "log", - "md-5", - "rand 0.8.5", - "ring", - "stun", - "thiserror", - "tokio", - "webrtc-util", -] - -[[package]] -name = "tweetnacl" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51ef604c58611d5e944c065bff78814f59c922f9661a7955ad8467ab6552380e" -dependencies = [ - "tweetnacl-sys", -] - -[[package]] -name = "tweetnacl-sys" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5f361e608a0a08c2ee09d1811f7e108bbee4c892aafbb8e685a7cc3b2526b61" -dependencies = [ - "cc", - "cty", -] - -[[package]] -name = "twoway" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59b11b2b5241ba34be09c3cc85a36e56e48f9888862e19cedf23336d35316ed1" -dependencies = [ - "memchr", -] - -[[package]] -name = "twox-hash" -version = "1.6.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" -dependencies = [ - "cfg-if 1.0.0", - "digest 0.10.6", - "rand 0.8.5", - "static_assertions", -] - -[[package]] -name = "typenum" -version = "1.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" - -[[package]] -name = "ucd-trie" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e79c4d996edb816c91e4308506774452e55e95c3c9de07b6729e17e15a5ef81" - -[[package]] -name = "uint" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76f64bba2c53b04fcab63c01a7d7427eadc821e3bc48c34dc9ba29c501164b52" -dependencies = [ - "byteorder", - "crunchy", - "hex", - "static_assertions", -] - -[[package]] -name = "unicase" -version = "2.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6" -dependencies = [ - "version_check", -] - -[[package]] -name = "unicode-bidi" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "099b7128301d285f79ddd55b9a83d5e6b9e97c92e0ea0daebee7263e932de992" - -[[package]] -name = "unicode-ident" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc" - -[[package]] -name = "unicode-normalization" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "unicode-width" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" - -[[package]] -name = "unicode-xid" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" - -[[package]] -name = "universal-hash" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f214e8f697e925001e66ec2c6e37a4ef93f0f78c2eed7814394e10c62025b05" -dependencies = [ - "generic-array 0.14.6", - "subtle", -] - -[[package]] -name = "unsigned-varint" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d86a8dc7f45e4c1b0d30e43038c38f274e77af056aa5f74b93c2cf9eb3c1c836" -dependencies = [ - "asynchronous-codec", - "bytes", - "futures-io", - "futures-util", -] - -[[package]] -name = "untrusted" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" - -[[package]] -name = "url" -version = "1.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a" -dependencies = [ - "idna 0.1.5", - "matches", - "percent-encoding 1.0.1", -] - -[[package]] -name = "url" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643" -dependencies = [ - "form_urlencoded", - "idna 0.3.0", - "percent-encoding 2.2.0", -] - -[[package]] -name = "utf-8" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" - -[[package]] -name = "uuid" -version = "1.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "422ee0de9031b5b948b97a8fc04e3aa35230001a722ddd27943e0be31564ce4c" -dependencies = [ - "getrandom 0.2.8", -] - -[[package]] -name = "valuable" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" - -[[package]] -name = "vault" -version = "0.0.1" -dependencies = [ - "async-trait", - "base64", - "bincode", - "clap 3.2.23", - "env_logger 0.9.3", - "err-derive", - "flate2", - "frame-support", - "futures 0.3.25", - "git-version", - "governor", - "hex", - "itertools", - "jsonrpc-core", - "jsonrpc-core-client", - "lazy_static", - "mockall 0.8.3", - "nonzero_ext", - "ntest", - "parity-scale-codec", - "parking_lot 0.12.1", - "rand 0.8.5", - "reqwest", - "runtime", - "scale-info", - "serde", - "serde_json", - "serial_test", - "service", - "sha2 0.8.2", - "signal-hook", - "signal-hook-tokio", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-keyring", - "sp-runtime", - "sp-std", - "spacewalk-primitives", - "stellar-relay-lib", - "subxt", - "sysinfo", - "tempdir", - "thiserror", - "tokio", - "tokio-metrics", - "tokio-stream", - "tracing", - "tracing-futures", - "tracing-subscriber", - "wallet", -] - -[[package]] -name = "vault-registry" -version = "1.2.0" -dependencies = [ - "currency", - "fee", - "fixed-hash 0.7.0", - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "mocktopus", - "oracle", - "orml-currencies", - "orml-tokens", - "orml-traits", - "pallet-balances", - "pallet-timestamp", - "parity-scale-codec", - "pretty_assertions", - "reward", - "scale-info", - "security", - "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "spacewalk-primitives", - "staking", - "substrate-stellar-sdk", - "visibility", -] - -[[package]] -name = "vcpkg" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" - -[[package]] -name = "version_check" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" - -[[package]] -name = "visibility" -version = "0.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8881d5cc0ae34e3db2f1de5af81e5117a420d2f937506c2dc20d6f4cfb069051" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "void" -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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca" - -[[package]] -name = "walkdir" -version = "2.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56" -dependencies = [ - "same-file", - "winapi", - "winapi-util", -] - -[[package]] -name = "wallet" -version = "1.0.0" -dependencies = [ - "async-trait", - "futures 0.3.25", - "mockall 0.8.3", - "parity-scale-codec", - "rand 0.8.5", - "reqwest", - "serde", - "serde_json", - "serial_test", - "spacewalk-primitives", - "substrate-stellar-sdk", - "thiserror", - "tokio", - "tokio-metrics", - "tokio-stream", - "tracing", - "tracing-futures", - "tracing-subscriber", -] - -[[package]] -name = "want" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" -dependencies = [ - "log", - "try-lock", -] - -[[package]] -name = "warp" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed7b8be92646fc3d18b06147664ebc5f48d222686cb11a8755e561a735aacc6d" -dependencies = [ - "bytes", - "futures-channel", - "futures-util", - "headers", - "http", - "hyper", - "log", - "mime", - "mime_guess", - "multipart", - "percent-encoding 2.2.0", - "pin-project", - "rustls-pemfile 0.2.1", - "scoped-tls", - "serde", - "serde_json", - "serde_urlencoded", - "tokio", - "tokio-stream", - "tokio-tungstenite", - "tokio-util", - "tower-service", - "tracing", -] - -[[package]] -name = "wasi" -version = "0.9.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" - -[[package]] -name = "wasi" -version = "0.10.2+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" - -[[package]] -name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" - -[[package]] -name = "wasm-bindgen" -version = "0.2.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaf9f5aceeec8be17c128b2e93e031fb8a4d469bb9c4ae2d7dc1888b26887268" -dependencies = [ - "cfg-if 1.0.0", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c8ffb332579b0557b52d268b91feab8df3615f265d5270fec2a8c95b17c1142" -dependencies = [ - "bumpalo", - "log", - "once_cell", - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-futures" -version = "0.4.33" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23639446165ca5a5de86ae1d8896b737ae80319560fbaa4c2887b7da6e7ebd7d" -dependencies = [ - "cfg-if 1.0.0", - "js-sys", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "052be0f94026e6cbc75cdefc9bae13fd6052cdcaf532fa6c45e7ae33a1e6c810" -dependencies = [ - "quote", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07bc0c051dc5f23e307b13285f9d75df86bfdf816c5721e573dec1f9b8aa193c" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c38c045535d93ec4f0b4defec448e4291638ee608530863b1e2ba115d4fff7f" - -[[package]] -name = "wasm-instrument" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa1dafb3e60065305741e83db35c6c2584bb3725b692b5b66148a38d72ace6cd" -dependencies = [ - "parity-wasm", -] - -[[package]] -name = "wasm-opt" -version = "0.110.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b68e8037b4daf711393f4be2056246d12d975651b14d581520ad5d1f19219cec" -dependencies = [ - "anyhow", - "libc", - "strum", - "strum_macros", - "tempfile", - "thiserror", - "wasm-opt-cxx-sys", - "wasm-opt-sys", -] - -[[package]] -name = "wasm-opt-cxx-sys" -version = "0.110.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91adbad477e97bba3fbd21dd7bfb594e7ad5ceb9169ab1c93ab9cb0ada636b6f" -dependencies = [ - "anyhow", - "cxx", - "cxx-build", - "wasm-opt-sys", -] - -[[package]] -name = "wasm-opt-sys" -version = "0.110.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec4fa5a322a4e6ac22fd141f498d56afbdbf9df5debeac32380d2dcaa3e06941" -dependencies = [ - "anyhow", - "cc", - "cxx", - "cxx-build", - "regex", -] - -[[package]] -name = "wasm-timer" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f" -dependencies = [ - "futures 0.3.25", - "js-sys", - "parking_lot 0.11.2", - "pin-utils", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", -] - -[[package]] -name = "wasmi" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06c326c93fbf86419608361a2c925a31754cf109da1b8b55737070b4d6669422" -dependencies = [ - "parity-wasm", - "wasmi-validation", - "wasmi_core", -] - -[[package]] -name = "wasmi-validation" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91ff416ad1ff0c42e5a926ed5d5fab74c0f098749aa0ad8b2a34b982ce0e867b" -dependencies = [ - "parity-wasm", -] - -[[package]] -name = "wasmi_core" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57d20cb3c59b788653d99541c646c561c9dd26506f25c0cebfe810659c54c6d7" -dependencies = [ - "downcast-rs", - "libm 0.2.6", - "memory_units", - "num-rational", - "num-traits", -] - -[[package]] -name = "wasmparser" -version = "0.89.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab5d3e08b13876f96dd55608d03cd4883a0545884932d5adf11925876c96daef" -dependencies = [ - "indexmap", -] - -[[package]] -name = "wasmtime" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ad5af6ba38311282f2a21670d96e78266e8c8e2f38cbcd52c254df6ccbc7731" -dependencies = [ - "anyhow", - "bincode", - "cfg-if 1.0.0", - "indexmap", - "libc", - "log", - "object 0.29.0", - "once_cell", - "paste", - "psm", - "rayon", - "serde", - "target-lexicon", - "wasmparser", - "wasmtime-cache", - "wasmtime-cranelift", - "wasmtime-environ", - "wasmtime-jit", - "wasmtime-runtime", - "windows-sys 0.36.1", -] - -[[package]] -name = "wasmtime-asm-macros" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45de63ddfc8b9223d1adc8f7b2ee5f35d1f6d112833934ad7ea66e4f4339e597" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "wasmtime-cache" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcd849399d17d2270141cfe47fa0d91ee52d5f8ea9b98cf7ddde0d53e5f79882" -dependencies = [ - "anyhow", - "base64", - "bincode", - "directories-next", - "file-per-thread-logger", - "log", - "rustix 0.35.13", - "serde", - "sha2 0.9.9", - "toml", - "windows-sys 0.36.1", - "zstd", -] - -[[package]] -name = "wasmtime-cranelift" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bd91339b742ff20bfed4532a27b73c86b5bcbfedd6bea2dcdf2d64471e1b5c6" -dependencies = [ - "anyhow", - "cranelift-codegen", - "cranelift-entity", - "cranelift-frontend", - "cranelift-native", - "cranelift-wasm", - "gimli 0.26.2", - "log", - "object 0.29.0", - "target-lexicon", - "thiserror", - "wasmparser", - "wasmtime-environ", -] - -[[package]] -name = "wasmtime-environ" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebb881c61f4f627b5d45c54e629724974f8a8890d455bcbe634330cc27309644" -dependencies = [ - "anyhow", - "cranelift-entity", - "gimli 0.26.2", - "indexmap", - "log", - "object 0.29.0", - "serde", - "target-lexicon", - "thiserror", - "wasmparser", - "wasmtime-types", -] - -[[package]] -name = "wasmtime-jit" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1985c628011fe26adf5e23a5301bdc79b245e0e338f14bb58b39e4e25e4d8681" -dependencies = [ - "addr2line 0.17.0", - "anyhow", - "bincode", - "cfg-if 1.0.0", - "cpp_demangle", - "gimli 0.26.2", - "log", - "object 0.29.0", - "rustc-demangle", - "rustix 0.35.13", - "serde", - "target-lexicon", - "thiserror", - "wasmtime-environ", - "wasmtime-jit-debug", - "wasmtime-runtime", - "windows-sys 0.36.1", -] - -[[package]] -name = "wasmtime-jit-debug" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f671b588486f5ccec8c5a3dba6b4c07eac2e66ab8c60e6f4e53717c77f709731" -dependencies = [ - "object 0.29.0", - "once_cell", - "rustix 0.35.13", -] - -[[package]] -name = "wasmtime-runtime" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee8f92ad4b61736339c29361da85769ebc200f184361959d1792832e592a1afd" -dependencies = [ - "anyhow", - "cc", - "cfg-if 1.0.0", - "indexmap", - "libc", - "log", - "mach", - "memfd", - "memoffset 0.6.5", - "paste", - "rand 0.8.5", - "rustix 0.35.13", - "thiserror", - "wasmtime-asm-macros", - "wasmtime-environ", - "wasmtime-jit-debug", - "windows-sys 0.36.1", -] - -[[package]] -name = "wasmtime-types" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d23d61cb4c46e837b431196dd06abb11731541021916d03476a178b54dc07aeb" -dependencies = [ - "cranelift-entity", - "serde", - "thiserror", - "wasmparser", -] - -[[package]] -name = "web-sys" -version = "0.3.60" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcda906d8be16e728fd5adc5b729afad4e444e106ab28cd1c7256e54fa61510f" -dependencies = [ - "js-sys", - "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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd" -dependencies = [ - "ring", - "untrusted", -] - -[[package]] -name = "webpki-roots" -version = "0.22.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87" -dependencies = [ - "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.20", - "tokio", - "turn", - "url 2.3.1", - "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 0.9.8", - "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.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "494483fbb2f5492620871fdc78b084aed8807377f6e3fe88b2e49f0a9c9c41d7" -dependencies = [ - "arc-swap", - "async-trait", - "crc", - "log", - "rand 0.8.5", - "serde", - "serde_json", - "stun", - "thiserror", - "tokio", - "turn", - "url 2.3.1", - "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 0.9.8", - "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]] -name = "wepoll-ffi" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d743fdedc5c64377b5fc2bc036b01c7fd642205a0d96356034ae3404d49eb7fb" -dependencies = [ - "cc", -] - -[[package]] -name = "which" -version = "4.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c831fbbee9e129a8cf93e7747a82da9d95ba8e16621cae60ec2cdc849bacb7b" -dependencies = [ - "either", - "libc", - "once_cell", -] - -[[package]] -name = "widestring" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17882f045410753661207383517a6f62ec3dbeb6a4ed2acce01f0728238d1983" - -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-util" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" -dependencies = [ - "winapi", -] - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] -name = "windows" -version = "0.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45296b64204227616fdbf2614cefa4c236b98ee64dfaaaa435207ed99fe7829f" -dependencies = [ - "windows_aarch64_msvc 0.34.0", - "windows_i686_gnu 0.34.0", - "windows_i686_msvc 0.34.0", - "windows_x86_64_gnu 0.34.0", - "windows_x86_64_msvc 0.34.0", -] - -[[package]] -name = "windows-sys" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2" -dependencies = [ - "windows_aarch64_msvc 0.36.1", - "windows_i686_gnu 0.36.1", - "windows_i686_msvc 0.36.1", - "windows_x86_64_gnu 0.36.1", - "windows_x86_64_msvc 0.36.1", -] - -[[package]] -name = "windows-sys" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" -dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc 0.42.0", - "windows_i686_gnu 0.42.0", - "windows_i686_msvc 0.42.0", - "windows_x86_64_gnu 0.42.0", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc 0.42.0", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41d2aa71f6f0cbe00ae5167d90ef3cfe66527d6f613ca78ac8024c3ccab9a19e" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17cffbe740121affb56fad0fc0e421804adf0ae00891205213b5cecd30db881d" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd0f252f5a35cac83d6311b2e795981f5ee6e67eb1f9a7f64eb4500fbc4dcdb4" - -[[package]] -name = "windows_i686_gnu" -version = "0.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2564fde759adb79129d9b4f54be42b32c89970c18ebf93124ca8870a498688ed" - -[[package]] -name = "windows_i686_gnu" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" - -[[package]] -name = "windows_i686_gnu" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbeae19f6716841636c28d695375df17562ca208b2b7d0dc47635a50ae6c5de7" - -[[package]] -name = "windows_i686_msvc" -version = "0.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cd9d32ba70453522332c14d38814bceeb747d80b3958676007acadd7e166956" - -[[package]] -name = "windows_i686_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" - -[[package]] -name = "windows_i686_msvc" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84c12f65daa39dd2babe6e442988fc329d6243fdce47d7d2d155b8d874862246" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfce6deae227ee8d356d19effc141a509cc503dfd1f850622ec4b0f84428e1f4" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf7b1b21b5362cbc318f686150e5bcea75ecedc74dd157d874d754a2ca44b0ed" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09d525d2ba30eeb3297665bd434a54297e4170c7f1a44cad4ef58095b4cd2028" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d19538ccc21819d01deaf88d6a17eae6596a12e9aafdbb97916fb49896d89de9" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f40009d85759725a34da6d89a94e63d7bdc50a862acf0dbc7c8e488f1edcb6f5" - -[[package]] -name = "winreg" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80d0f4e272c85def139476380b12f9ac60926689dd2e01d4923222f40580869d" -dependencies = [ - "winapi", -] - -[[package]] -name = "wyz" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" -dependencies = [ - "tap", -] - -[[package]] -name = "x25519-dalek" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a0c105152107e3b96f6a00a65e86ce82d9b125230e1c4302940eca58ff71f4f" -dependencies = [ - "curve25519-dalek 3.2.0", - "rand_core 0.5.1", - "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", - "data-encoding", - "der-parser 7.0.0", - "lazy_static", - "nom", - "oid-registry 0.4.0", - "ring", - "rusticata-macros", - "thiserror", - "time 0.3.20", -] - -[[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", - "data-encoding", - "der-parser 8.1.0", - "lazy_static", - "nom", - "oid-registry 0.6.1", - "rusticata-macros", - "thiserror", - "time 0.3.20", -] - -[[package]] -name = "xcm" -version = "0.9.37" -source = "git+https://github.com/paritytech//polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" -dependencies = [ - "derivative", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "scale-info", - "sp-runtime", - "xcm-procedural", -] - -[[package]] -name = "xcm-procedural" -version = "0.9.37" -source = "git+https://github.com/paritytech//polkadot?branch=release-v0.9.37#645723987cf9662244be8faf4e9b63e8b9a1b3a3" -dependencies = [ - "Inflector", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "yamux" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d9ba232399af1783a58d8eb26f6b5006fbefe2dc9ef36bd283324792d03ea5" -dependencies = [ - "futures 0.3.25", - "log", - "nohash-hasher", - "parking_lot 0.12.1", - "rand 0.8.5", - "static_assertions", -] - -[[package]] -name = "yap" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fc77f52dc9e9b10d55d3f4462c3b7fc393c4f17975d641542833ab2d3bc26ef" - -[[package]] -name = "yasna" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aed2e7a52e3744ab4d0c05c20aa065258e84c49fd4226f5191b2ed29712710b4" -dependencies = [ - "time 0.3.20", -] - -[[package]] -name = "zeroize" -version = "1.5.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c394b5bd0c6f669e7275d9c20aa90ae064cb22e75a1cad54e1b34088034b149f" -dependencies = [ - "zeroize_derive", -] - -[[package]] -name = "zeroize_derive" -version = "1.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44bf07cb3e50ea2003396695d58bf46bc9887a1f362260446fad6bc4e79bd36c" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "synstructure", -] - -[[package]] -name = "zstd" -version = "0.11.2+zstd.1.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" -dependencies = [ - "zstd-safe", -] - -[[package]] -name = "zstd-safe" -version = "5.0.2+zstd.1.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db" -dependencies = [ - "libc", - "zstd-sys", -] - -[[package]] -name = "zstd-sys" -version = "2.0.4+zstd.1.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fa202f2ef00074143e219d15b62ffc317d17cc33909feac471c044087cad7b0" -dependencies = [ - "cc", - "libc", -] diff --git a/Cargo.toml b/Cargo.toml index 7de4301c3..782db8ef9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,122 +34,122 @@ codegen-units = 1 [patch."https://github.com/paritytech/substrate"] -frame-support = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -frame-support-procedural = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -frame-support-procedural-tools = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -frame-support-procedural-tools-derive = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -frame-system = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-core = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-externalities = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-io = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-std = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-storage = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-wasm-interface = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } +frame-support = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +frame-support-procedural = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +frame-support-procedural-tools = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +frame-support-procedural-tools-derive = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +frame-system = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-core = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-externalities = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-io = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-runtime = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-std = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-storage = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-wasm-interface = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } -frame-benchmarking = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -frame-benchmarking-cli = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -frame-executive = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -frame-system-benchmarking = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -pallet-aura = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -pallet-authorship = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -pallet-balances = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -pallet-grandpa = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -pallet-session = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -pallet-sudo = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -pallet-timestamp = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -pallet-transaction-payment = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-allocator = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-basic-authorship = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-block-builder = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-chain-spec = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-chain-spec-derive = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-cli = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-client-api = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-client-db = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-consensus = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-consensus-aura = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-consensus-babe = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-consensus-epochs = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-consensus-manual-seal = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-consensus-slots = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-executor = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-executor-common = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-executor-wasmi = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-executor-wasmtime = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-finality-grandpa = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-informant = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-keystore = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-network = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-network-bitswap = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-network-common = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-network-gossip = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-network-light = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-network-sync = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-network-transactions = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-offchain = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-peerset = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-proposer-metrics = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-rpc = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-rpc-api = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-rpc-server = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-rpc-spec-v2 = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-service = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-state-db = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-sysinfo = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-telemetry = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-tracing = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-tracing-proc-macro = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-transaction-pool = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-transaction-pool-api = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sc-utils = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-api = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-api-proc-macro = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-application-crypto = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-arithmetic = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-block-builder = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-blockchain = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-consensus = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-consensus-aura = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-consensus-babe = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-consensus-slots = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-consensus-vrf = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-core-hashing = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-core-hashing-proc-macro = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-database = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-debug-derive = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-finality-grandpa = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-inherents = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-keyring = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-keystore = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-maybe-compressed-blob = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-offchain = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-panic-handler = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-rpc = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-runtime-interface = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-runtime-interface-proc-macro = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-session = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-staking = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-state-machine = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-tracing = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-transaction-pool = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-transaction-storage-proof = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-trie = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-timestamp = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-version = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-version-proc-macro = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-weights = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -substrate-build-script-utils = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -substrate-frame-rpc-system = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -substrate-wasm-builder = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } +frame-benchmarking = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +frame-benchmarking-cli = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +frame-executive = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +frame-system-benchmarking = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +pallet-aura = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +pallet-authorship = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +pallet-balances = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +pallet-grandpa = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +pallet-session = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +pallet-sudo = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +pallet-timestamp = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +pallet-transaction-payment = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-allocator = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-basic-authorship = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-block-builder = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-chain-spec = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-chain-spec-derive = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-cli = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-client-api = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-client-db = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-consensus = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-consensus-aura = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-consensus-babe = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-consensus-epochs = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-consensus-manual-seal = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-consensus-slots = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-executor = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-executor-common = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-executor-wasmi = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-executor-wasmtime = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-consensus-grandpa = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-informant = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-keystore = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-network = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-network-bitswap = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-network-common = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-network-gossip = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-network-light = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-network-sync = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-network-transactions = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-offchain = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-peerset = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-proposer-metrics = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-rpc = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-rpc-api = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-rpc-server = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-rpc-spec-v2 = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-service = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-state-db = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-sysinfo = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-telemetry = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-tracing = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-tracing-proc-macro = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-transaction-pool = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-transaction-pool-api = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sc-utils = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-api = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-api-proc-macro = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-application-crypto = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-arithmetic = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-block-builder = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-blockchain = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-consensus = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-consensus-aura = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-consensus-babe = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-consensus-slots = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-consensus-vrf = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-core-hashing = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-core-hashing-proc-macro = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-database = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-debug-derive = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-consensus-grandpa = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-inherents = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-keyring = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-keystore = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-maybe-compressed-blob = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-offchain = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-panic-handler = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-rpc = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-runtime-interface = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-runtime-interface-proc-macro = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-session = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-staking = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-state-machine = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-tracing = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-transaction-pool = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-transaction-storage-proof = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-trie = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-timestamp = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-version = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-version-proc-macro = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-weights = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +substrate-build-script-utils = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +substrate-wasm-builder = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } [patch."https://github.com/paritytech/polkadot"] -xcm = { git = "https://github.com/paritytech//polkadot", branch = "release-v0.9.37" } +xcm = { git = "https://github.com/paritytech//polkadot", branch = "release-v0.9.40" } [patch.crates-io] -sp-core = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.37" } \ No newline at end of file +sp-core = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } +sp-runtime = { git = "https://github.com/paritytech//substrate", branch = "polkadot-v0.9.40" } \ No newline at end of file diff --git a/clients/runtime/Cargo.toml b/clients/runtime/Cargo.toml index 6229bd316..fb7fb0af1 100644 --- a/clients/runtime/Cargo.toml +++ b/clients/runtime/Cargo.toml @@ -35,12 +35,12 @@ prometheus = { version = "0.12.0", features = ["process"] } url = "2" # Substrate dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } # Subxt dependencies subxt = "0.25.0" @@ -60,7 +60,7 @@ testchain = { package = "spacewalk-standalone", path = "../../testchain/node", o testchain-runtime = { package = "spacewalk-runtime-standalone", path = "../../testchain/runtime", optional = true } # Substrate Stellar Dependencies -substrate-stellar-sdk = { git = "https://github.com/pendulum-chain/substrate-stellar-sdk", branch = "polkadot-v0.9.37" } +substrate-stellar-sdk = { git = "https://github.com/pendulum-chain/substrate-stellar-sdk", branch = "polkadot-v0.9.40" } wallet = { path = "../wallet" } diff --git a/clients/runtime/client/Cargo.toml b/clients/runtime/client/Cargo.toml index 00473835d..07964bc70 100644 --- a/clients/runtime/client/Cargo.toml +++ b/clients/runtime/client/Cargo.toml @@ -25,7 +25,7 @@ thiserror = "1.0.23" subxt = "0.25.0" -sc-client-db = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +sc-client-db = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } diff --git a/clients/runtime/client/src/lib.rs b/clients/runtime/client/src/lib.rs index 7d251eed5..62308241a 100644 --- a/clients/runtime/client/src/lib.rs +++ b/clients/runtime/client/src/lib.rs @@ -213,7 +213,7 @@ impl SubxtClientConfig { network.boot_nodes = self.chain_spec.boot_nodes().to_vec(); network.transport = TransportConfig::Normal { enable_mdns: true, - allow_private_ipv4: true, + allow_private_ip: true, // wasm_external_transport: None, }; let telemetry_endpoints = if let Some(port) = self.telemetry { diff --git a/clients/stellar-relay-lib/Cargo.toml b/clients/stellar-relay-lib/Cargo.toml index 2b44831f4..0ea09eb49 100644 --- a/clients/stellar-relay-lib/Cargo.toml +++ b/clients/stellar-relay-lib/Cargo.toml @@ -28,7 +28,7 @@ serde_json = "1.0.93" serde_with = "2.2.0" -substrate-stellar-sdk = {git = "https://github.com/pendulum-chain/substrate-stellar-sdk", branch = "polkadot-v0.9.37", default-features = false, features = ['all-types']} +substrate-stellar-sdk = {git = "https://github.com/pendulum-chain/substrate-stellar-sdk", branch = "polkadot-v0.9.40", default-features = false, features = ['all-types']} err-derive = "0.3.1" diff --git a/clients/vault/Cargo.toml b/clients/vault/Cargo.toml index 7fed5e813..da4f9fd72 100644 --- a/clients/vault/Cargo.toml +++ b/clients/vault/Cargo.toml @@ -54,12 +54,12 @@ stellar-relay-lib = { package = "stellar-relay-lib", path = "../stellar-relay-li primitives = { path = "../../primitives", package = "spacewalk-primitives" } # Substrate dependencies -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } parking_lot = "0.12.1" err-derive = "0.3.1" @@ -79,4 +79,4 @@ wallet = { path = "../wallet", features = ["testing-utils"] } subxt = { version = "0.25.0" } # Substrate dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } diff --git a/clients/vault/src/oracle/collector/proof_builder.rs b/clients/vault/src/oracle/collector/proof_builder.rs index e7019b5ce..609ecd14f 100644 --- a/clients/vault/src/oracle/collector/proof_builder.rs +++ b/clients/vault/src/oracle/collector/proof_builder.rs @@ -265,12 +265,12 @@ mod test { #[test] fn test_check_slot_position() { - let last_slot = 100; + let last_slot = 50_000; assert!(!check_slot_still_recoverable_from_overlay(last_slot, 50)); - assert!(!check_slot_still_recoverable_from_overlay(last_slot, 75)); - assert!(check_slot_still_recoverable_from_overlay(last_slot, 90)); - assert!(check_slot_still_recoverable_from_overlay(last_slot, 100)); - assert!(check_slot_still_recoverable_from_overlay(last_slot, 101)); + assert!(!check_slot_still_recoverable_from_overlay(last_slot, 100)); + assert!(!check_slot_still_recoverable_from_overlay(last_slot, 30_000)); + assert!(check_slot_still_recoverable_from_overlay(last_slot, 40_500)); + assert!(check_slot_still_recoverable_from_overlay(last_slot, 49_500)); } } diff --git a/clients/wallet/Cargo.toml b/clients/wallet/Cargo.toml index caacb2df7..f03f7e944 100644 --- a/clients/wallet/Cargo.toml +++ b/clients/wallet/Cargo.toml @@ -24,7 +24,7 @@ tracing = { version = "0.1", features = ["log"] } tracing-futures = { version = "0.2.5" } tracing-subscriber = { version = "0.2.12", features = ["registry", "env-filter", "fmt"] } -substrate-stellar-sdk = { git = "https://github.com/pendulum-chain/substrate-stellar-sdk", branch = "polkadot-v0.9.37" } +substrate-stellar-sdk = { git = "https://github.com/pendulum-chain/substrate-stellar-sdk", branch = "polkadot-v0.9.40" } primitives = { package = "spacewalk-primitives", path = "../../primitives"} [dev-dependencies] diff --git a/pallets/currency/Cargo.toml b/pallets/currency/Cargo.toml index a57ab5e16..63e395966 100644 --- a/pallets/currency/Cargo.toml +++ b/pallets/currency/Cargo.toml @@ -11,29 +11,29 @@ serde = { version = "1.0.130", default-features = false, features = ["derive"], codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] } scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } # Parachain dependencies primitives = { package = "spacewalk-primitives", path = "../../primitives", default-features = false } # Orml dependencies -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } -orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } +orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } # for other pallets wanting to mock functions mocktopus = { version = "0.8.0", optional = true } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } [features] default = ["std"] diff --git a/pallets/fee/Cargo.toml b/pallets/fee/Cargo.toml index da903fd8e..9152cb68c 100644 --- a/pallets/fee/Cargo.toml +++ b/pallets/fee/Cargo.toml @@ -11,16 +11,16 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } # Substrate dependencies -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false, optional = true } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false, optional = true } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } # Parachain dependencies currency = { path = "../currency", default-features = false } @@ -31,15 +31,15 @@ primitives = { package = "spacewalk-primitives", path = "../../primitives", defa [dev-dependencies] mocktopus = "0.8.0" -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } currency = { path = "../currency", default-features = false, features = ["testing-constants"] } security = { path = "../security", features = ['testing-utils'] } # Orml dependencies -orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } +orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } [features] default = ["std"] diff --git a/pallets/fee/src/default_weights.rs b/pallets/fee/src/default_weights.rs index a920630db..0ceb369f2 100644 --- a/pallets/fee/src/default_weights.rs +++ b/pallets/fee/src/default_weights.rs @@ -1,33 +1,37 @@ -//! Autogenerated weights for fee +//! Autogenerated weights for `fee` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-01-26, STEPS: `100`, REPEAT: 10, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `MacBook-Pro`, CPU: `` -//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-05-24, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `Bs-MacBook-Pro.local`, CPU: `` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: // ./target/release/spacewalk-standalone // benchmark // pallet -// --chain=dev -// --pallet=fee -// --extrinsic=* +// --chain +// dev +// --execution=wasm +// --wasm-execution=compiled +// --pallet +// * +// --extrinsic +// * // --steps=100 // --repeat=10 -// --wasm-execution=compiled -// --output=pallets/fee/src/default_weights.rs -// --template=.maintain/frame-weight-template.hbs +// --output +// pallets #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(clippy::unnecessary_cast)] -use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weight functions needed for fee. +/// Weight functions for `fee`. pub trait WeightInfo { fn withdraw_rewards() -> Weight; fn set_issue_fee() -> Weight; @@ -38,121 +42,108 @@ pub trait WeightInfo { fn set_replace_griefing_collateral() -> Weight; } -/// Weights for fee using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - // Storage: VaultRewards Stake (r:1 w:0) - // Storage: VaultRewards RewardPerToken (r:1 w:0) - // Storage: VaultRewards RewardTally (r:1 w:1) - // Storage: VaultRewards TotalRewards (r:1 w:1) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking TotalCurrentStake (r:1 w:0) - // Storage: VaultStaking Stake (r:1 w:1) - // Storage: VaultStaking SlashPerToken (r:1 w:0) - // Storage: VaultStaking SlashTally (r:1 w:1) - // Storage: VaultStaking TotalStake (r:1 w:1) - // Storage: VaultStaking RewardPerToken (r:1 w:0) - // Storage: VaultStaking RewardTally (r:1 w:1) - // Storage: VaultStaking TotalRewards (r:1 w:1) + /// Storage: VaultRewards Stake (r:1 w:0) + /// Proof Skipped: VaultRewards Stake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards RewardPerToken (r:1 w:0) + /// Proof Skipped: VaultRewards RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards RewardTally (r:1 w:1) + /// Proof Skipped: VaultRewards RewardTally (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards TotalRewards (r:1 w:1) + /// Proof Skipped: VaultRewards TotalRewards (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking Nonce (r:1 w:0) + /// Proof Skipped: VaultStaking Nonce (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalCurrentStake (r:1 w:0) + /// Proof Skipped: VaultStaking TotalCurrentStake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking Stake (r:1 w:1) + /// Proof Skipped: VaultStaking Stake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking SlashPerToken (r:1 w:0) + /// Proof Skipped: VaultStaking SlashPerToken (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking SlashTally (r:1 w:1) + /// Proof Skipped: VaultStaking SlashTally (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalStake (r:1 w:1) + /// Proof Skipped: VaultStaking TotalStake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking RewardPerToken (r:1 w:0) + /// Proof Skipped: VaultStaking RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking RewardTally (r:1 w:1) + /// Proof Skipped: VaultStaking RewardTally (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalRewards (r:1 w:1) + /// Proof Skipped: VaultStaking TotalRewards (max_values: None, max_size: None, mode: Measured) fn withdraw_rewards() -> Weight { - // Minimum execution time: 49_000 nanoseconds. - Weight::from_ref_time(49_000_000u64) - .saturating_add(T::DbWeight::get().reads(13u64)) - .saturating_add(T::DbWeight::get().writes(7u64)) + // Proof Size summary in bytes: + // Measured: `118` + // Estimated: `46579` + // Minimum execution time: 135_000_000 picoseconds. + Weight::from_parts(139_000_000, 0) + .saturating_add(Weight::from_parts(0, 46579)) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(7)) } - // Storage: Fee IssueFee (r:0 w:1) + /// Storage: Fee IssueFee (r:0 w:1) + /// Proof Skipped: Fee IssueFee (max_values: Some(1), max_size: None, mode: Measured) fn set_issue_fee() -> Weight { - // Minimum execution time: 3_000 nanoseconds. - Weight::from_ref_time(3_000_000u64) - .saturating_add(T::DbWeight::get().writes(1u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(5_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Fee IssueGriefingCollateral (r:0 w:1) + /// Storage: Fee IssueGriefingCollateral (r:0 w:1) + /// Proof Skipped: Fee IssueGriefingCollateral (max_values: Some(1), max_size: None, mode: Measured) fn set_issue_griefing_collateral() -> Weight { - // Minimum execution time: 3_000 nanoseconds. - Weight::from_ref_time(4_000_000u64) - .saturating_add(T::DbWeight::get().writes(1u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(5_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Fee RedeemFee (r:0 w:1) + /// Storage: Fee RedeemFee (r:0 w:1) + /// Proof Skipped: Fee RedeemFee (max_values: Some(1), max_size: None, mode: Measured) fn set_redeem_fee() -> Weight { - // Minimum execution time: 3_000 nanoseconds. - Weight::from_ref_time(3_000_000u64) - .saturating_add(T::DbWeight::get().writes(1u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(5_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Fee PremiumRedeemFee (r:0 w:1) + /// Storage: Fee PremiumRedeemFee (r:0 w:1) + /// Proof Skipped: Fee PremiumRedeemFee (max_values: Some(1), max_size: None, mode: Measured) fn set_premium_redeem_fee() -> Weight { - // Minimum execution time: 3_000 nanoseconds. - Weight::from_ref_time(3_000_000u64) - .saturating_add(T::DbWeight::get().writes(1u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(5_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Fee PunishmentFee (r:0 w:1) + /// Storage: Fee PunishmentFee (r:0 w:1) + /// Proof Skipped: Fee PunishmentFee (max_values: Some(1), max_size: None, mode: Measured) fn set_punishment_fee() -> Weight { - // Minimum execution time: 3_000 nanoseconds. - Weight::from_ref_time(3_000_000u64) - .saturating_add(T::DbWeight::get().writes(1u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(5_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Fee ReplaceGriefingCollateral (r:0 w:1) + /// Storage: Fee ReplaceGriefingCollateral (r:0 w:1) + /// Proof Skipped: Fee ReplaceGriefingCollateral (max_values: Some(1), max_size: None, mode: Measured) fn set_replace_griefing_collateral() -> Weight { - // Minimum execution time: 3_000 nanoseconds. - Weight::from_ref_time(3_000_000u64) - .saturating_add(T::DbWeight::get().writes(1u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(5_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } } - -// For backwards compatibility and tests -impl WeightInfo for () { - // Storage: VaultRewards Stake (r:1 w:0) - // Storage: VaultRewards RewardPerToken (r:1 w:0) - // Storage: VaultRewards RewardTally (r:1 w:1) - // Storage: VaultRewards TotalRewards (r:1 w:1) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking TotalCurrentStake (r:1 w:0) - // Storage: VaultStaking Stake (r:1 w:1) - // Storage: VaultStaking SlashPerToken (r:1 w:0) - // Storage: VaultStaking SlashTally (r:1 w:1) - // Storage: VaultStaking TotalStake (r:1 w:1) - // Storage: VaultStaking RewardPerToken (r:1 w:0) - // Storage: VaultStaking RewardTally (r:1 w:1) - // Storage: VaultStaking TotalRewards (r:1 w:1) - fn withdraw_rewards() -> Weight { - // Minimum execution time: 49_000 nanoseconds. - Weight::from_ref_time(49_000_000u64) - .saturating_add(RocksDbWeight::get().reads(13u64)) - .saturating_add(RocksDbWeight::get().writes(7u64)) - } - // Storage: Fee IssueFee (r:0 w:1) - fn set_issue_fee() -> Weight { - // Minimum execution time: 3_000 nanoseconds. - Weight::from_ref_time(3_000_000u64) - .saturating_add(RocksDbWeight::get().writes(1u64)) - } - // Storage: Fee IssueGriefingCollateral (r:0 w:1) - fn set_issue_griefing_collateral() -> Weight { - // Minimum execution time: 3_000 nanoseconds. - Weight::from_ref_time(4_000_000u64) - .saturating_add(RocksDbWeight::get().writes(1u64)) - } - // Storage: Fee RedeemFee (r:0 w:1) - fn set_redeem_fee() -> Weight { - // Minimum execution time: 3_000 nanoseconds. - Weight::from_ref_time(3_000_000u64) - .saturating_add(RocksDbWeight::get().writes(1u64)) - } - // Storage: Fee PremiumRedeemFee (r:0 w:1) - fn set_premium_redeem_fee() -> Weight { - // Minimum execution time: 3_000 nanoseconds. - Weight::from_ref_time(3_000_000u64) - .saturating_add(RocksDbWeight::get().writes(1u64)) - } - // Storage: Fee PunishmentFee (r:0 w:1) - fn set_punishment_fee() -> Weight { - // Minimum execution time: 3_000 nanoseconds. - Weight::from_ref_time(3_000_000u64) - .saturating_add(RocksDbWeight::get().writes(1u64)) - } - // Storage: Fee ReplaceGriefingCollateral (r:0 w:1) - fn set_replace_griefing_collateral() -> Weight { - // Minimum execution time: 3_000 nanoseconds. - Weight::from_ref_time(3_000_000u64) - .saturating_add(RocksDbWeight::get().writes(1u64)) - } -} \ No newline at end of file diff --git a/pallets/fee/src/mock.rs b/pallets/fee/src/mock.rs index cf6b699c4..9685a50d7 100644 --- a/pallets/fee/src/mock.rs +++ b/pallets/fee/src/mock.rs @@ -223,7 +223,7 @@ parameter_types! { impl Config for Test { type FeePalletId = FeePalletId; - type WeightInfo = (); + type WeightInfo = fee::SubstrateWeight; type SignedFixedPoint = SignedFixedPoint; type SignedInner = SignedInner; type UnsignedFixedPoint = UnsignedFixedPoint; diff --git a/pallets/issue/Cargo.toml b/pallets/issue/Cargo.toml index bc2d60848..07816507c 100644 --- a/pallets/issue/Cargo.toml +++ b/pallets/issue/Cargo.toml @@ -13,19 +13,19 @@ scale-info = { version = "2.0.0", default-features = false, features = ["derive" log = { version = "0.4.14", default-features = false } # Substrate dependencies -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false, optional = true } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false, optional = true } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } -substrate-stellar-sdk = { git = "https://github.com/pendulum-chain/substrate-stellar-sdk", branch = "polkadot-v0.9.37", default-features = false, features = ['offchain'] } +substrate-stellar-sdk = { git = "https://github.com/pendulum-chain/substrate-stellar-sdk", branch = "polkadot-v0.9.40", default-features = false, features = ['offchain'] } # Parachain dependencies currency = { path = "../currency", default-features = false } @@ -38,13 +38,13 @@ vault-registry = { path = "../vault-registry", default-features = false } primitives = { package = "spacewalk-primitives", path = "../../primitives", default-features = false } # Orml dependencies -orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false, optional = true } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false, optional = true } +orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false, optional = true } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false, optional = true } [dev-dependencies] mocktopus = "0.8.0" -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } currency = { path = "../currency", features = ['testing-utils', 'testing-constants'] } reward = { path = "../reward" } @@ -54,8 +54,8 @@ security = { path = "../security", features = ['testing-utils'] } oracle = { path = "../oracle", features = ['testing-utils'] } # Orml dependencies -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37" } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37" } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40" } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40" } [features] diff --git a/pallets/issue/rpc/Cargo.toml b/pallets/issue/rpc/Cargo.toml index 3d81e059c..2777b8c95 100644 --- a/pallets/issue/rpc/Cargo.toml +++ b/pallets/issue/rpc/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0" } jsonrpsee = { version = "0.16.0", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } module-issue-rpc-runtime-api = { path = "runtime-api" } diff --git a/pallets/issue/rpc/runtime-api/Cargo.toml b/pallets/issue/rpc/runtime-api/Cargo.toml index cfe38296a..c8f2c385b 100644 --- a/pallets/issue/rpc/runtime-api/Cargo.toml +++ b/pallets/issue/rpc/runtime-api/Cargo.toml @@ -6,9 +6,9 @@ edition = "2021" [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } [features] default = ["std"] diff --git a/pallets/issue/rpc/src/lib.rs b/pallets/issue/rpc/src/lib.rs index 52a81f0b0..3a4c2883b 100644 --- a/pallets/issue/rpc/src/lib.rs +++ b/pallets/issue/rpc/src/lib.rs @@ -8,7 +8,7 @@ use jsonrpsee::{ }; use sp_api::ProvideRuntimeApi; use sp_blockchain::HeaderBackend; -use sp_runtime::{generic::BlockId, traits::Block as BlockT}; +use sp_runtime::traits::Block as BlockT; use std::sync::Arc; pub use module_issue_rpc_runtime_api::IssueApi as IssueRuntimeApi; @@ -68,9 +68,9 @@ where at: Option<::Hash>, ) -> RpcResult> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); + let at = at.unwrap_or_else(|| self.client.info().best_hash); - api.get_issue_requests(&at, account_id) + api.get_issue_requests(at, account_id) .map_err(|e| internal_err(format!("Unable to fetch issue requests: {:?}", e))) } @@ -80,9 +80,9 @@ where at: Option<::Hash>, ) -> RpcResult> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); + let at = at.unwrap_or_else(|| self.client.info().best_hash); - api.get_vault_issue_requests(&at, vault_id) + api.get_vault_issue_requests(at, vault_id) .map_err(|e| internal_err(format!("Unable to fetch issue requests: {:?}", e))) } } diff --git a/pallets/issue/src/benchmarking.rs b/pallets/issue/src/benchmarking.rs index e9d9c8f90..257b032b7 100644 --- a/pallets/issue/src/benchmarking.rs +++ b/pallets/issue/src/benchmarking.rs @@ -64,7 +64,7 @@ benchmarks! { request_issue { let origin: T::AccountId = account("Origin", 0, 0); let vault_id = get_vault_id::(); - let amount = 1000u32.into(); + let amount = 10_000_000u32.into(); let asset = vault_id.wrapped_currency(); let relayer_id: T::AccountId = account("Relayer", 0, 0); @@ -185,6 +185,19 @@ benchmarks! { impl_benchmark_test_suite!( Issue, - crate::mock::ExtBuilder::build_with(Default::default()), + crate::mock::ExtBuilder::build_with(orml_tokens::GenesisConfig:: { + balances: vec![ + currency::testing_constants::DEFAULT_COLLATERAL_CURRENCY, + currency::testing_constants::DEFAULT_NATIVE_CURRENCY + ] + .into_iter() + .flat_map(|currency_id| { + vec![ + (crate::mock::USER, currency_id, 1_000_000_000_000), + (crate::mock::VAULT.account_id, currency_id, 1_000_000_000_000), + ] + }) + .collect(), + }), crate::mock::Test ); diff --git a/pallets/issue/src/default_weights.rs b/pallets/issue/src/default_weights.rs index ea121bb58..8afa996ea 100644 --- a/pallets/issue/src/default_weights.rs +++ b/pallets/issue/src/default_weights.rs @@ -1,33 +1,37 @@ -//! Autogenerated weights for issue +//! Autogenerated weights for `issue` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-09, STEPS: `100`, REPEAT: 10, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `MacBook-Pro`, CPU: `` -//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-05-24, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `Bs-MacBook-Pro.local`, CPU: `` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: // ./target/release/spacewalk-standalone // benchmark // pallet -// --chain=dev -// --pallet=issue -// --extrinsic=* +// --chain +// dev +// --execution=wasm +// --wasm-execution=compiled +// --pallet +// * +// --extrinsic +// * // --steps=100 // --repeat=10 -// --wasm-execution=compiled -// --output=pallets/issue/src/default_weights.rs -// --template=.maintain/frame-weight-template.hbs +// --output +// pallets #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(clippy::unnecessary_cast)] -use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weight functions needed for issue. +/// Weight functions for `issue`. pub trait WeightInfo { fn request_issue() -> Weight; fn execute_issue() -> Weight; @@ -37,145 +41,131 @@ pub trait WeightInfo { fn minimum_transfer_amount_update() -> Weight; } -/// Weights for issue using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - // Storage: Issue LimitVolumeAmount (r:1 w:0) - // Storage: VaultRegistry Vaults (r:1 w:1) - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: Fee IssueGriefingCollateral (r:1 w:0) - // Storage: Issue IssueMinimumTransferAmount (r:1 w:0) - // Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking TotalCurrentStake (r:1 w:0) - // Storage: Fee IssueFee (r:1 w:0) - // Storage: Security Nonce (r:1 w:1) - // Storage: System ParentHash (r:1 w:0) - // Storage: VaultRegistry VaultStellarPublicKey (r:1 w:0) - // Storage: Security ActiveBlockCount (r:1 w:0) - // Storage: Issue IssuePeriod (r:1 w:0) - // Storage: Issue IssueRequests (r:0 w:1) + /// Storage: Issue LimitVolumeAmount (r:1 w:0) + /// Proof: Issue LimitVolumeAmount (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) + /// Storage: VaultRegistry Vaults (r:1 w:1) + /// Proof Skipped: VaultRegistry Vaults (max_values: None, max_size: None, mode: Measured) + /// Storage: Security ParachainStatus (r:1 w:0) + /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Fee IssueGriefingCollateral (r:1 w:0) + /// Proof Skipped: Fee IssueGriefingCollateral (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Tokens Accounts (r:1 w:1) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(150), added: 2625, mode: MaxEncodedLen) + /// Storage: Issue IssueMinimumTransferAmount (r:1 w:0) + /// Proof: Issue IssueMinimumTransferAmount (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) + /// Proof Skipped: VaultRegistry SecureCollateralThreshold (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking Nonce (r:1 w:0) + /// Proof Skipped: VaultStaking Nonce (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalCurrentStake (r:1 w:0) + /// Proof Skipped: VaultStaking TotalCurrentStake (max_values: None, max_size: None, mode: Measured) + /// Storage: Fee IssueFee (r:1 w:0) + /// Proof Skipped: Fee IssueFee (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Security Nonce (r:1 w:1) + /// Proof Skipped: Security Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: System ParentHash (r:1 w:0) + /// Proof: System ParentHash (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: VaultRegistry VaultStellarPublicKey (r:1 w:0) + /// Proof Skipped: VaultRegistry VaultStellarPublicKey (max_values: None, max_size: None, mode: Measured) + /// Storage: Security ActiveBlockCount (r:1 w:0) + /// Proof Skipped: Security ActiveBlockCount (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Issue IssuePeriod (r:1 w:0) + /// Proof: Issue IssuePeriod (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: Issue IssueRequests (r:0 w:1) + /// Proof: Issue IssueRequests (max_values: None, max_size: Some(339), added: 2814, mode: MaxEncodedLen) fn request_issue() -> Weight { - // Minimum execution time: 62_000 nanoseconds. - Weight::from_ref_time(63_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(14 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `2192` + // Estimated: `56294` + // Minimum execution time: 104_000_000 picoseconds. + Weight::from_parts(108_000_000, 0) + .saturating_add(Weight::from_parts(0, 56294)) + .saturating_add(T::DbWeight::get().reads(15)) + .saturating_add(T::DbWeight::get().writes(4)) } - // Storage: Issue IssueRequests (r:1 w:1) - // Storage: StellarRelay IsPublicNetwork (r:1 w:0) - // Storage: StellarRelay NewValidatorsEnactmentBlockHeight (r:1 w:0) - // Storage: StellarRelay Validators (r:1 w:0) - // Storage: StellarRelay Organizations (r:1 w:0) - // Storage: VaultRegistry Vaults (r:1 w:1) - // Storage: Fee IssueFee (r:1 w:0) - // Storage: VaultRewards Stake (r:1 w:0) - // Storage: Issue LimitVolumeAmount (r:1 w:0) - // Storage: VaultRewards TotalStake (r:1 w:0) + /// Storage: Issue IssueRequests (r:1 w:1) + /// Proof: Issue IssueRequests (max_values: None, max_size: Some(339), added: 2814, mode: MaxEncodedLen) + /// Storage: StellarRelay NewValidatorsEnactmentBlockHeight (r:1 w:0) + /// Proof: StellarRelay NewValidatorsEnactmentBlockHeight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: StellarRelay Validators (r:1 w:0) + /// Proof: StellarRelay Validators (max_values: Some(1), max_size: Some(70382), added: 70877, mode: MaxEncodedLen) + /// Storage: StellarRelay Organizations (r:1 w:0) + /// Proof: StellarRelay Organizations (max_values: Some(1), max_size: Some(37232), added: 37727, mode: MaxEncodedLen) + /// Storage: VaultRegistry Vaults (r:1 w:1) + /// Proof Skipped: VaultRegistry Vaults (max_values: None, max_size: None, mode: Measured) + /// Storage: Fee IssueFee (r:1 w:0) + /// Proof Skipped: Fee IssueFee (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: VaultRewards Stake (r:1 w:0) + /// Proof Skipped: VaultRewards Stake (max_values: None, max_size: None, mode: Measured) + /// Storage: Issue LimitVolumeAmount (r:1 w:0) + /// Proof: Issue LimitVolumeAmount (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) + /// Storage: VaultRewards TotalStake (r:1 w:0) + /// Proof Skipped: VaultRewards TotalStake (max_values: Some(1), max_size: None, mode: Measured) fn execute_issue() -> Weight { - // Minimum execution time: 4_254_000 nanoseconds. - Weight::from_ref_time(4_384_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(10 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `1730` + // Estimated: `134199` + // Minimum execution time: 8_659_000_000 picoseconds. + Weight::from_parts(8_682_000_000, 0) + .saturating_add(Weight::from_parts(0, 134199)) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Issue IssueRequests (r:1 w:1) - // Storage: Issue IssuePeriod (r:1 w:0) - // Storage: Security ActiveBlockCount (r:1 w:0) - // Storage: VaultRegistry Vaults (r:1 w:1) + /// Storage: Issue IssueRequests (r:1 w:1) + /// Proof: Issue IssueRequests (max_values: None, max_size: Some(339), added: 2814, mode: MaxEncodedLen) + /// Storage: Issue IssuePeriod (r:1 w:0) + /// Proof: Issue IssuePeriod (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: Security ActiveBlockCount (r:1 w:0) + /// Proof Skipped: Security ActiveBlockCount (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: VaultRegistry Vaults (r:1 w:1) + /// Proof Skipped: VaultRegistry Vaults (max_values: None, max_size: None, mode: Measured) fn cancel_issue() -> Weight { - // Minimum execution time: 34_000 nanoseconds. - Weight::from_ref_time(36_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `1199` + // Estimated: `12641` + // Minimum execution time: 41_000_000 picoseconds. + Weight::from_parts(42_000_000, 0) + .saturating_add(Weight::from_parts(0, 12641)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Issue IssuePeriod (r:0 w:1) + /// Storage: Issue IssuePeriod (r:0 w:1) + /// Proof: Issue IssuePeriod (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn set_issue_period() -> Weight { - // Minimum execution time: 11_000 nanoseconds. - Weight::from_ref_time(12_000_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(9_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Issue LimitVolumeAmount (r:0 w:1) - // Storage: Issue LimitVolumeCurrencyId (r:0 w:1) - // Storage: Issue IntervalLength (r:0 w:1) + /// Storage: Issue LimitVolumeAmount (r:0 w:1) + /// Proof: Issue LimitVolumeAmount (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) + /// Storage: Issue LimitVolumeCurrencyId (r:0 w:1) + /// Proof: Issue LimitVolumeCurrencyId (max_values: Some(1), max_size: Some(46), added: 541, mode: MaxEncodedLen) + /// Storage: Issue IntervalLength (r:0 w:1) + /// Proof: Issue IntervalLength (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn rate_limit_update() -> Weight { - // Minimum execution time: 13_000 nanoseconds. - Weight::from_ref_time(13_000_000 as u64) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(12_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(3)) } - // Storage: Issue IssueMinimumTransferAmount (r:0 w:1) + /// Storage: Issue IssueMinimumTransferAmount (r:0 w:1) + /// Proof: Issue IssueMinimumTransferAmount (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn minimum_transfer_amount_update() -> Weight { - // Minimum execution time: 11_000 nanoseconds. - Weight::from_ref_time(14_000_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(9_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } } - -// For backwards compatibility and tests -impl WeightInfo for () { - // Storage: Issue LimitVolumeAmount (r:1 w:0) - // Storage: VaultRegistry Vaults (r:1 w:1) - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: Fee IssueGriefingCollateral (r:1 w:0) - // Storage: Issue IssueMinimumTransferAmount (r:1 w:0) - // Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking TotalCurrentStake (r:1 w:0) - // Storage: Fee IssueFee (r:1 w:0) - // Storage: Security Nonce (r:1 w:1) - // Storage: System ParentHash (r:1 w:0) - // Storage: VaultRegistry VaultStellarPublicKey (r:1 w:0) - // Storage: Security ActiveBlockCount (r:1 w:0) - // Storage: Issue IssuePeriod (r:1 w:0) - // Storage: Issue IssueRequests (r:0 w:1) - fn request_issue() -> Weight { - // Minimum execution time: 62_000 nanoseconds. - Weight::from_ref_time(63_000_000 as u64) - .saturating_add(RocksDbWeight::get().reads(14 as u64)) - .saturating_add(RocksDbWeight::get().writes(3 as u64)) - } - // Storage: Issue IssueRequests (r:1 w:1) - // Storage: StellarRelay IsPublicNetwork (r:1 w:0) - // Storage: StellarRelay NewValidatorsEnactmentBlockHeight (r:1 w:0) - // Storage: StellarRelay Validators (r:1 w:0) - // Storage: StellarRelay Organizations (r:1 w:0) - // Storage: VaultRegistry Vaults (r:1 w:1) - // Storage: Fee IssueFee (r:1 w:0) - // Storage: VaultRewards Stake (r:1 w:0) - // Storage: Issue LimitVolumeAmount (r:1 w:0) - // Storage: VaultRewards TotalStake (r:1 w:0) - fn execute_issue() -> Weight { - // Minimum execution time: 4_254_000 nanoseconds. - Weight::from_ref_time(4_384_000_000 as u64) - .saturating_add(RocksDbWeight::get().reads(10 as u64)) - .saturating_add(RocksDbWeight::get().writes(2 as u64)) - } - // Storage: Issue IssueRequests (r:1 w:1) - // Storage: Issue IssuePeriod (r:1 w:0) - // Storage: Security ActiveBlockCount (r:1 w:0) - // Storage: VaultRegistry Vaults (r:1 w:1) - fn cancel_issue() -> Weight { - // Minimum execution time: 34_000 nanoseconds. - Weight::from_ref_time(36_000_000 as u64) - .saturating_add(RocksDbWeight::get().reads(4 as u64)) - .saturating_add(RocksDbWeight::get().writes(2 as u64)) - } - // Storage: Issue IssuePeriod (r:0 w:1) - fn set_issue_period() -> Weight { - // Minimum execution time: 11_000 nanoseconds. - Weight::from_ref_time(12_000_000 as u64) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) - } - // Storage: Issue LimitVolumeAmount (r:0 w:1) - // Storage: Issue LimitVolumeCurrencyId (r:0 w:1) - // Storage: Issue IntervalLength (r:0 w:1) - fn rate_limit_update() -> Weight { - // Minimum execution time: 13_000 nanoseconds. - Weight::from_ref_time(13_000_000 as u64) - .saturating_add(RocksDbWeight::get().writes(3 as u64)) - } - // Storage: Issue IssueMinimumTransferAmount (r:0 w:1) - fn minimum_transfer_amount_update() -> Weight { - // Minimum execution time: 11_000 nanoseconds. - Weight::from_ref_time(14_000_000 as u64) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) - } -} \ No newline at end of file diff --git a/pallets/issue/src/mock.rs b/pallets/issue/src/mock.rs index 1dedea092..042d90356 100644 --- a/pallets/issue/src/mock.rs +++ b/pallets/issue/src/mock.rs @@ -190,7 +190,7 @@ impl vault_registry::Config for Test { type PalletId = VaultPalletId; type RuntimeEvent = TestEvent; type Balance = Balance; - type WeightInfo = (); + type WeightInfo = vault_registry::SubstrateWeight; type GetGriefingCollateralCurrencyId = GetNativeCurrencyId; } @@ -256,7 +256,7 @@ impl stellar_relay::Config for Test { type OrganizationLimit = OrganizationLimit; type ValidatorLimit = ValidatorLimit; type IsPublicNetwork = IsPublicNetwork; - type WeightInfo = (); + type WeightInfo = stellar_relay::SubstrateWeight; } impl security::Config for Test { @@ -282,7 +282,7 @@ impl staking::Config for Test { impl oracle::Config for Test { type RuntimeEvent = TestEvent; - type WeightInfo = (); + type WeightInfo = oracle::SubstrateWeight; type DataProvider = DiaOracleAdapter< MockDiaOracle, UnsignedFixedPoint, @@ -301,7 +301,7 @@ parameter_types! { impl fee::Config for Test { type FeePalletId = FeePalletId; - type WeightInfo = (); + type WeightInfo = fee::SubstrateWeight; type SignedFixedPoint = SignedFixedPoint; type SignedInner = SignedInner; type UnsignedFixedPoint = UnsignedFixedPoint; @@ -334,7 +334,7 @@ impl Convert for BlockNumberToBalance { impl Config for Test { type RuntimeEvent = TestEvent; type BlockNumberToBalance = BlockNumberToBalance; - type WeightInfo = (); + type WeightInfo = crate::SubstrateWeight; } pub type TestEvent = RuntimeEvent; @@ -376,7 +376,7 @@ impl ExtBuilder { fee::GenesisConfig:: { issue_fee: UnsignedFixedPoint::checked_from_rational(5, 1000).unwrap(), // 0.5% - issue_griefing_collateral: UnsignedFixedPoint::checked_from_rational(5, 100000) + issue_griefing_collateral: UnsignedFixedPoint::checked_from_rational(5, 1_000_000_000) .unwrap(), // 0.005% redeem_fee: UnsignedFixedPoint::checked_from_rational(5, 1000).unwrap(), // 0.5% premium_redeem_fee: UnsignedFixedPoint::checked_from_rational(5, 100).unwrap(), // 5% diff --git a/pallets/nomination/Cargo.toml b/pallets/nomination/Cargo.toml index ba05f578f..b4c392a76 100644 --- a/pallets/nomination/Cargo.toml +++ b/pallets/nomination/Cargo.toml @@ -10,17 +10,17 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } # Substrate dependencies -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false, optional = true } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false, optional = true } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } # Parachain dependencies currency = { path = "../currency", default-features = false } @@ -34,21 +34,21 @@ staking = { path = "../staking", default-features = false } primitives = { package = "spacewalk-primitives", path = "../../primitives", default-features = false } # Orml dependencies -orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false, optional = true } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false, optional = true } +orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false, optional = true } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false, optional = true } [dev-dependencies] mocktopus = "0.8.0" -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } currency = { path = "../currency", default-features = false, features = ["testing-constants"] } security = { path = "../security", features = ['testing-utils'] } oracle = { path = "../oracle", features = ['testing-utils'] } # Orml dependencies -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } [features] default = ["std"] diff --git a/pallets/nomination/src/default_weights.rs b/pallets/nomination/src/default_weights.rs index 20ce086e3..5def6c6da 100644 --- a/pallets/nomination/src/default_weights.rs +++ b/pallets/nomination/src/default_weights.rs @@ -1,33 +1,37 @@ -//! Autogenerated weights for nomination +//! Autogenerated weights for `nomination` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-01-26, STEPS: `100`, REPEAT: 10, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `MacBook-Pro`, CPU: `` -//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-05-24, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `Bs-MacBook-Pro.local`, CPU: `` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: // ./target/release/spacewalk-standalone // benchmark // pallet -// --chain=dev -// --pallet=nomination -// --extrinsic=* +// --chain +// dev +// --execution=wasm +// --wasm-execution=compiled +// --pallet +// * +// --extrinsic +// * // --steps=100 // --repeat=10 -// --wasm-execution=compiled -// --output=pallets/nomination/src/default_weights.rs -// --template=.maintain/frame-weight-template.hbs +// --output +// pallets #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(clippy::unnecessary_cast)] -use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weight functions needed for nomination. +/// Weight functions for `nomination`. pub trait WeightInfo { fn set_nomination_enabled() -> Weight; fn opt_in_to_nomination() -> Weight; @@ -36,187 +40,173 @@ pub trait WeightInfo { fn withdraw_collateral() -> Weight; } -/// Weights for nomination using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - // Storage: Nomination NominationEnabled (r:0 w:1) + /// Storage: Nomination NominationEnabled (r:0 w:1) + /// Proof: Nomination NominationEnabled (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) fn set_nomination_enabled() -> Weight { - // Minimum execution time: 3_000 nanoseconds. - Weight::from_ref_time(3_000_000u64) - .saturating_add(T::DbWeight::get().writes(1u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(5_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: Nomination NominationEnabled (r:1 w:0) - // Storage: VaultRegistry Vaults (r:1 w:0) - // Storage: Nomination Vaults (r:1 w:1) + /// Storage: Security ParachainStatus (r:1 w:0) + /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Nomination NominationEnabled (r:1 w:0) + /// Proof: Nomination NominationEnabled (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) + /// Storage: VaultRegistry Vaults (r:1 w:0) + /// Proof Skipped: VaultRegistry Vaults (max_values: None, max_size: None, mode: Measured) + /// Storage: Nomination Vaults (r:1 w:1) + /// Proof: Nomination Vaults (max_values: None, max_size: Some(141), added: 2616, mode: MaxEncodedLen) fn opt_in_to_nomination() -> Weight { - // Minimum execution time: 18_000 nanoseconds. - Weight::from_ref_time(19_000_000u64) - .saturating_add(T::DbWeight::get().reads(4u64)) - .saturating_add(T::DbWeight::get().writes(1u64)) + // Proof Size summary in bytes: + // Measured: `539` + // Estimated: `11120` + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(26_000_000, 0) + .saturating_add(Weight::from_parts(0, 11120)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: Nomination Vaults (r:1 w:1) - // Storage: VaultStaking Nonce (r:1 w:1) - // Storage: VaultStaking TotalCurrentStake (r:2 w:2) - // Storage: VaultStaking Stake (r:2 w:2) - // Storage: VaultStaking SlashPerToken (r:2 w:0) - // Storage: VaultStaking SlashTally (r:2 w:2) - // Storage: VaultRegistry Vaults (r:1 w:0) - // Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) - // Storage: VaultStaking TotalStake (r:2 w:2) - // Storage: VaultStaking RewardTally (r:4 w:4) - // Storage: VaultStaking RewardPerToken (r:4 w:0) - // Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) + /// Storage: Security ParachainStatus (r:1 w:0) + /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Nomination Vaults (r:1 w:1) + /// Proof: Nomination Vaults (max_values: None, max_size: Some(141), added: 2616, mode: MaxEncodedLen) + /// Storage: VaultStaking Nonce (r:1 w:1) + /// Proof Skipped: VaultStaking Nonce (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalCurrentStake (r:2 w:2) + /// Proof Skipped: VaultStaking TotalCurrentStake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking Stake (r:2 w:2) + /// Proof Skipped: VaultStaking Stake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking SlashPerToken (r:2 w:0) + /// Proof Skipped: VaultStaking SlashPerToken (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking SlashTally (r:2 w:2) + /// Proof Skipped: VaultStaking SlashTally (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry Vaults (r:1 w:0) + /// Proof Skipped: VaultRegistry Vaults (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) + /// Proof Skipped: VaultRegistry SecureCollateralThreshold (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalStake (r:2 w:2) + /// Proof Skipped: VaultStaking TotalStake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking RewardTally (r:4 w:4) + /// Proof Skipped: VaultStaking RewardTally (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking RewardPerToken (r:4 w:0) + /// Proof Skipped: VaultStaking RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) + /// Proof Skipped: VaultRegistry TotalUserVaultCollateral (max_values: None, max_size: None, mode: Measured) fn opt_out_of_nomination() -> Weight { - // Minimum execution time: 90_000 nanoseconds. - Weight::from_ref_time(93_000_000u64) - .saturating_add(T::DbWeight::get().reads(24u64)) - .saturating_add(T::DbWeight::get().writes(15u64)) + // Proof Size summary in bytes: + // Measured: `2080` + // Estimated: `95391` + // Minimum execution time: 200_000_000 picoseconds. + Weight::from_parts(203_000_000, 0) + .saturating_add(Weight::from_parts(0, 95391)) + .saturating_add(T::DbWeight::get().reads(24)) + .saturating_add(T::DbWeight::get().writes(15)) } - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: Nomination NominationEnabled (r:1 w:0) - // Storage: Nomination Vaults (r:1 w:0) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking TotalCurrentStake (r:1 w:1) - // Storage: VaultStaking Stake (r:2 w:1) - // Storage: VaultStaking SlashPerToken (r:1 w:0) - // Storage: VaultStaking SlashTally (r:2 w:1) - // Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) - // Storage: VaultRegistry PremiumRedeemThreshold (r:1 w:0) - // Storage: VaultRewards Stake (r:1 w:0) - // Storage: VaultRewards RewardPerToken (r:2 w:0) - // Storage: VaultRewards RewardTally (r:2 w:2) - // Storage: VaultRewards TotalRewards (r:2 w:2) - // Storage: VaultStaking RewardPerToken (r:2 w:2) - // Storage: VaultStaking TotalStake (r:1 w:1) - // Storage: VaultStaking RewardTally (r:2 w:2) - // Storage: Tokens Accounts (r:2 w:2) - // Storage: System Account (r:1 w:0) - // Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) - // Storage: VaultRegistry SystemCollateralCeiling (r:1 w:0) + /// Storage: Security ParachainStatus (r:1 w:0) + /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Nomination NominationEnabled (r:1 w:0) + /// Proof: Nomination NominationEnabled (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) + /// Storage: Nomination Vaults (r:1 w:0) + /// Proof: Nomination Vaults (max_values: None, max_size: Some(141), added: 2616, mode: MaxEncodedLen) + /// Storage: VaultStaking Nonce (r:1 w:0) + /// Proof Skipped: VaultStaking Nonce (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalCurrentStake (r:1 w:1) + /// Proof Skipped: VaultStaking TotalCurrentStake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking Stake (r:2 w:1) + /// Proof Skipped: VaultStaking Stake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking SlashPerToken (r:1 w:0) + /// Proof Skipped: VaultStaking SlashPerToken (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking SlashTally (r:2 w:1) + /// Proof Skipped: VaultStaking SlashTally (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) + /// Proof Skipped: VaultRegistry SecureCollateralThreshold (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry PremiumRedeemThreshold (r:1 w:0) + /// Proof Skipped: VaultRegistry PremiumRedeemThreshold (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards Stake (r:1 w:0) + /// Proof Skipped: VaultRewards Stake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards RewardPerToken (r:2 w:0) + /// Proof Skipped: VaultRewards RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards RewardTally (r:2 w:2) + /// Proof Skipped: VaultRewards RewardTally (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards TotalRewards (r:2 w:2) + /// Proof Skipped: VaultRewards TotalRewards (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking RewardPerToken (r:2 w:2) + /// Proof Skipped: VaultStaking RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalStake (r:1 w:1) + /// Proof Skipped: VaultStaking TotalStake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking RewardTally (r:2 w:2) + /// Proof Skipped: VaultStaking RewardTally (max_values: None, max_size: None, mode: Measured) + /// Storage: Tokens Accounts (r:2 w:2) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(150), added: 2625, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) + /// Proof Skipped: VaultRegistry TotalUserVaultCollateral (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry SystemCollateralCeiling (r:1 w:0) + /// Proof Skipped: VaultRegistry SystemCollateralCeiling (max_values: None, max_size: None, mode: Measured) fn deposit_collateral() -> Weight { - // Minimum execution time: 101_000 nanoseconds. - Weight::from_ref_time(104_000_000u64) - .saturating_add(T::DbWeight::get().reads(29u64)) - .saturating_add(T::DbWeight::get().writes(15u64)) + // Proof Size summary in bytes: + // Measured: `2955` + // Estimated: `139410` + // Minimum execution time: 220_000_000 picoseconds. + Weight::from_parts(227_000_000, 0) + .saturating_add(Weight::from_parts(0, 139410)) + .saturating_add(T::DbWeight::get().reads(29)) + .saturating_add(T::DbWeight::get().writes(15)) } - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultRegistry Vaults (r:1 w:0) - // Storage: VaultStaking TotalCurrentStake (r:1 w:1) - // Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) - // Storage: Nomination NominationEnabled (r:1 w:0) - // Storage: Nomination Vaults (r:1 w:0) - // Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) - // Storage: VaultRewards Stake (r:1 w:0) - // Storage: VaultRewards RewardPerToken (r:2 w:0) - // Storage: VaultRewards RewardTally (r:2 w:2) - // Storage: VaultRewards TotalRewards (r:2 w:2) - // Storage: VaultStaking RewardPerToken (r:2 w:2) - // Storage: VaultStaking Stake (r:1 w:1) - // Storage: VaultStaking SlashPerToken (r:1 w:0) - // Storage: VaultStaking SlashTally (r:1 w:1) - // Storage: VaultStaking TotalStake (r:1 w:1) - // Storage: VaultStaking RewardTally (r:2 w:2) - // Storage: Tokens Accounts (r:2 w:2) - // Storage: System Account (r:1 w:0) + /// Storage: Security ParachainStatus (r:1 w:0) + /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: VaultStaking Nonce (r:1 w:0) + /// Proof Skipped: VaultStaking Nonce (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry Vaults (r:1 w:0) + /// Proof Skipped: VaultRegistry Vaults (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalCurrentStake (r:1 w:1) + /// Proof Skipped: VaultStaking TotalCurrentStake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) + /// Proof Skipped: VaultRegistry SecureCollateralThreshold (max_values: None, max_size: None, mode: Measured) + /// Storage: Nomination NominationEnabled (r:1 w:0) + /// Proof: Nomination NominationEnabled (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) + /// Storage: Nomination Vaults (r:1 w:0) + /// Proof: Nomination Vaults (max_values: None, max_size: Some(141), added: 2616, mode: MaxEncodedLen) + /// Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) + /// Proof Skipped: VaultRegistry TotalUserVaultCollateral (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards Stake (r:1 w:0) + /// Proof Skipped: VaultRewards Stake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards RewardPerToken (r:2 w:0) + /// Proof Skipped: VaultRewards RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards RewardTally (r:2 w:2) + /// Proof Skipped: VaultRewards RewardTally (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards TotalRewards (r:2 w:2) + /// Proof Skipped: VaultRewards TotalRewards (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking RewardPerToken (r:2 w:2) + /// Proof Skipped: VaultStaking RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking Stake (r:1 w:1) + /// Proof Skipped: VaultStaking Stake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking SlashPerToken (r:1 w:0) + /// Proof Skipped: VaultStaking SlashPerToken (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking SlashTally (r:1 w:1) + /// Proof Skipped: VaultStaking SlashTally (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalStake (r:1 w:1) + /// Proof Skipped: VaultStaking TotalStake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking RewardTally (r:2 w:2) + /// Proof Skipped: VaultStaking RewardTally (max_values: None, max_size: None, mode: Measured) + /// Storage: Tokens Accounts (r:2 w:2) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(150), added: 2625, mode: MaxEncodedLen) + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn withdraw_collateral() -> Weight { - // Minimum execution time: 110_000 nanoseconds. - Weight::from_ref_time(111_000_000u64) - .saturating_add(T::DbWeight::get().reads(26u64)) - .saturating_add(T::DbWeight::get().writes(15u64)) + // Proof Size summary in bytes: + // Measured: `3935` + // Estimated: `143720` + // Minimum execution time: 223_000_000 picoseconds. + Weight::from_parts(226_000_000, 0) + .saturating_add(Weight::from_parts(0, 143720)) + .saturating_add(T::DbWeight::get().reads(26)) + .saturating_add(T::DbWeight::get().writes(15)) } } - -// For backwards compatibility and tests -impl WeightInfo for () { - // Storage: Nomination NominationEnabled (r:0 w:1) - fn set_nomination_enabled() -> Weight { - // Minimum execution time: 3_000 nanoseconds. - Weight::from_ref_time(3_000_000u64) - .saturating_add(RocksDbWeight::get().writes(1u64)) - } - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: Nomination NominationEnabled (r:1 w:0) - // Storage: VaultRegistry Vaults (r:1 w:0) - // Storage: Nomination Vaults (r:1 w:1) - fn opt_in_to_nomination() -> Weight { - // Minimum execution time: 18_000 nanoseconds. - Weight::from_ref_time(19_000_000u64) - .saturating_add(RocksDbWeight::get().reads(4u64)) - .saturating_add(RocksDbWeight::get().writes(1u64)) - } - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: Nomination Vaults (r:1 w:1) - // Storage: VaultStaking Nonce (r:1 w:1) - // Storage: VaultStaking TotalCurrentStake (r:2 w:2) - // Storage: VaultStaking Stake (r:2 w:2) - // Storage: VaultStaking SlashPerToken (r:2 w:0) - // Storage: VaultStaking SlashTally (r:2 w:2) - // Storage: VaultRegistry Vaults (r:1 w:0) - // Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) - // Storage: VaultStaking TotalStake (r:2 w:2) - // Storage: VaultStaking RewardTally (r:4 w:4) - // Storage: VaultStaking RewardPerToken (r:4 w:0) - // Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) - fn opt_out_of_nomination() -> Weight { - // Minimum execution time: 90_000 nanoseconds. - Weight::from_ref_time(93_000_000u64) - .saturating_add(RocksDbWeight::get().reads(24u64)) - .saturating_add(RocksDbWeight::get().writes(15u64)) - } - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: Nomination NominationEnabled (r:1 w:0) - // Storage: Nomination Vaults (r:1 w:0) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking TotalCurrentStake (r:1 w:1) - // Storage: VaultStaking Stake (r:2 w:1) - // Storage: VaultStaking SlashPerToken (r:1 w:0) - // Storage: VaultStaking SlashTally (r:2 w:1) - // Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) - // Storage: VaultRegistry PremiumRedeemThreshold (r:1 w:0) - // Storage: VaultRewards Stake (r:1 w:0) - // Storage: VaultRewards RewardPerToken (r:2 w:0) - // Storage: VaultRewards RewardTally (r:2 w:2) - // Storage: VaultRewards TotalRewards (r:2 w:2) - // Storage: VaultStaking RewardPerToken (r:2 w:2) - // Storage: VaultStaking TotalStake (r:1 w:1) - // Storage: VaultStaking RewardTally (r:2 w:2) - // Storage: Tokens Accounts (r:2 w:2) - // Storage: System Account (r:1 w:0) - // Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) - // Storage: VaultRegistry SystemCollateralCeiling (r:1 w:0) - fn deposit_collateral() -> Weight { - // Minimum execution time: 101_000 nanoseconds. - Weight::from_ref_time(104_000_000u64) - .saturating_add(RocksDbWeight::get().reads(29u64)) - .saturating_add(RocksDbWeight::get().writes(15u64)) - } - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultRegistry Vaults (r:1 w:0) - // Storage: VaultStaking TotalCurrentStake (r:1 w:1) - // Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) - // Storage: Nomination NominationEnabled (r:1 w:0) - // Storage: Nomination Vaults (r:1 w:0) - // Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) - // Storage: VaultRewards Stake (r:1 w:0) - // Storage: VaultRewards RewardPerToken (r:2 w:0) - // Storage: VaultRewards RewardTally (r:2 w:2) - // Storage: VaultRewards TotalRewards (r:2 w:2) - // Storage: VaultStaking RewardPerToken (r:2 w:2) - // Storage: VaultStaking Stake (r:1 w:1) - // Storage: VaultStaking SlashPerToken (r:1 w:0) - // Storage: VaultStaking SlashTally (r:1 w:1) - // Storage: VaultStaking TotalStake (r:1 w:1) - // Storage: VaultStaking RewardTally (r:2 w:2) - // Storage: Tokens Accounts (r:2 w:2) - // Storage: System Account (r:1 w:0) - fn withdraw_collateral() -> Weight { - // Minimum execution time: 110_000 nanoseconds. - Weight::from_ref_time(111_000_000u64) - .saturating_add(RocksDbWeight::get().reads(26u64)) - .saturating_add(RocksDbWeight::get().writes(15u64)) - } -} \ No newline at end of file diff --git a/pallets/nomination/src/mock.rs b/pallets/nomination/src/mock.rs index b3ad36bf2..2b437752f 100644 --- a/pallets/nomination/src/mock.rs +++ b/pallets/nomination/src/mock.rs @@ -201,7 +201,7 @@ impl vault_registry::Config for Test { type PalletId = VaultPalletId; type RuntimeEvent = TestEvent; type Balance = Balance; - type WeightInfo = (); + type WeightInfo = vault_registry::SubstrateWeight; type GetGriefingCollateralCurrencyId = GetNativeCurrencyId; } @@ -265,7 +265,7 @@ parameter_types! { impl fee::Config for Test { type FeePalletId = FeePalletId; - type WeightInfo = (); + type WeightInfo = fee::SubstrateWeight; type SignedFixedPoint = SignedFixedPoint; type SignedInner = SignedInner; type UnsignedFixedPoint = UnsignedFixedPoint; @@ -278,7 +278,7 @@ impl fee::Config for Test { impl oracle::Config for Test { type RuntimeEvent = TestEvent; - type WeightInfo = (); + type WeightInfo = oracle::SubstrateWeight; type DataProvider = DiaOracleAdapter< MockDiaOracle, UnsignedFixedPoint, @@ -292,7 +292,7 @@ impl oracle::Config for Test { impl Config for Test { type RuntimeEvent = TestEvent; - type WeightInfo = (); + type WeightInfo = crate::SubstrateWeight; } pub type TestEvent = RuntimeEvent; diff --git a/pallets/oracle/Cargo.toml b/pallets/oracle/Cargo.toml index 916cd34a0..1153a6c59 100644 --- a/pallets/oracle/Cargo.toml +++ b/pallets/oracle/Cargo.toml @@ -9,20 +9,20 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } # Substrate dependencies -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false, optional = true } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false, optional = true } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } -orml-oracle = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } -dia-oracle = { git = "https://github.com/pendulum-chain/oracle-pallet", branch = "polkadot-v0.9.37", default-features = false } +orml-oracle = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } +dia-oracle = { git = "https://github.com/pendulum-chain/oracle-pallet", branch = "polkadot-v0.9.40", default-features = false } # Parachain dependencies security = { path = "../security", default-features = false } @@ -32,15 +32,15 @@ currency = { path = "../currency", default-features = false } [dev-dependencies] mocktopus = "0.8.0" -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } currency = { path = "../currency", default-features = false, features = ["testing-constants"] } security = { path = "../security", features = ['testing-utils'] } # Orml dependencies -orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } +orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } [features] diff --git a/pallets/oracle/rpc/Cargo.toml b/pallets/oracle/rpc/Cargo.toml index 459697554..fbff14987 100644 --- a/pallets/oracle/rpc/Cargo.toml +++ b/pallets/oracle/rpc/Cargo.toml @@ -8,6 +8,6 @@ version = "1.2.0" codec = {package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"]} jsonrpsee = {version = "0.16.0", features = ["server", "macros"]} module-oracle-rpc-runtime-api = {path = "runtime-api"} -sp-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37"} -sp-blockchain = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37"} -sp-runtime = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37"} +sp-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40"} +sp-blockchain = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40"} +sp-runtime = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40"} diff --git a/pallets/oracle/rpc/runtime-api/Cargo.toml b/pallets/oracle/rpc/runtime-api/Cargo.toml index a5eb56c76..37fbd1035 100644 --- a/pallets/oracle/rpc/runtime-api/Cargo.toml +++ b/pallets/oracle/rpc/runtime-api/Cargo.toml @@ -6,10 +6,10 @@ version = "1.2.0" [dependencies] codec = {package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"]} -frame-support = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} +frame-support = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} serde = {version = "1.0.130", default-features = false, optional = true, features = ["derive"]} -sp-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -sp-std = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} +sp-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-std = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} [features] default = ["std"] diff --git a/pallets/oracle/rpc/src/lib.rs b/pallets/oracle/rpc/src/lib.rs index b752ee2de..c3d86795a 100644 --- a/pallets/oracle/rpc/src/lib.rs +++ b/pallets/oracle/rpc/src/lib.rs @@ -9,7 +9,6 @@ use jsonrpsee::{ use sp_api::ProvideRuntimeApi; use sp_blockchain::HeaderBackend; use sp_runtime::{ - generic::BlockId, traits::{Block as BlockT, MaybeDisplay, MaybeFromStr}, DispatchError, }; @@ -86,9 +85,9 @@ where at: Option<::Hash>, ) -> RpcResult> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); + let at = at.unwrap_or_else(|| self.client.info().best_hash); - handle_response(api.currency_to_usd(&at, amount, currency_id)) + handle_response(api.currency_to_usd(at, amount, currency_id)) } fn usd_to_currency( @@ -98,8 +97,8 @@ where at: Option<::Hash>, ) -> RpcResult> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); + let at = at.unwrap_or_else(|| self.client.info().best_hash); - handle_response(api.usd_to_currency(&at, amount, currency_id)) + handle_response(api.usd_to_currency(at, amount, currency_id)) } } diff --git a/pallets/oracle/src/benchmarking.rs b/pallets/oracle/src/benchmarking.rs index c87c2f395..75c621294 100644 --- a/pallets/oracle/src/benchmarking.rs +++ b/pallets/oracle/src/benchmarking.rs @@ -1,7 +1,7 @@ #![allow(warnings)] use super::{Pallet as Oracle, *}; use crate::OracleKey; -use frame_benchmarking::{account, benchmarks, impl_benchmark_test_suite}; +use frame_benchmarking::{benchmarks, impl_benchmark_test_suite}; use frame_system::RawOrigin; use sp_std::prelude::*; diff --git a/pallets/oracle/src/default_weights.rs b/pallets/oracle/src/default_weights.rs index 0c4f2ef06..2cb09f91c 100644 --- a/pallets/oracle/src/default_weights.rs +++ b/pallets/oracle/src/default_weights.rs @@ -1,82 +1,78 @@ -//! Autogenerated weights for oracle +//! Autogenerated weights for `oracle` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-06, STEPS: `100`, REPEAT: 10, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `Marcels-MBP`, CPU: `` -//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-05-24, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `Bs-MacBook-Pro.local`, CPU: `` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: // ./target/release/spacewalk-standalone // benchmark // pallet -// --chain=dev -// --pallet=oracle -// --extrinsic=* +// --chain +// dev +// --execution=wasm +// --wasm-execution=compiled +// --pallet +// * +// --extrinsic +// * // --steps=100 // --repeat=10 -// --wasm-execution=compiled -// --output=pallets/oracle/src/default_weights.rs -// --template=./.maintain/frame-weight-template.hbs +// --output +// pallets #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(clippy::unnecessary_cast)] -use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weight functions needed for oracle. +/// Weight functions for `oracle`. pub trait WeightInfo { fn on_initialize() -> Weight; fn update_oracle_keys() -> Weight; fn set_max_delay() -> Weight; } -/// Weights for oracle using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - // Storage: Timestamp Now (r:0 w:1) - // Storage: Timestamp DidUpdate (r:0 w:1) + /// Storage: Timestamp Now (r:0 w:1) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: Timestamp DidUpdate (r:0 w:1) + /// Proof: Timestamp DidUpdate (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) fn on_initialize() -> Weight { - // Minimum execution time: 0 nanoseconds. - Weight::from_ref_time(0u64) - .saturating_add(T::DbWeight::get().writes(2u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 1_000_000 picoseconds. + Weight::from_parts(2_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Oracle OracleKeys (r:0 w:1) + /// Storage: Oracle OracleKeys (r:0 w:1) + /// Proof Skipped: Oracle OracleKeys (max_values: Some(1), max_size: None, mode: Measured) fn update_oracle_keys() -> Weight { - // Minimum execution time: 8_000 nanoseconds. - Weight::from_ref_time(9_000_000u64) - .saturating_add(T::DbWeight::get().writes(1u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(10_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Oracle MaxDelay (r:0 w:1) + /// Storage: Oracle MaxDelay (r:0 w:1) + /// Proof Skipped: Oracle MaxDelay (max_values: Some(1), max_size: None, mode: Measured) fn set_max_delay() -> Weight { - // Minimum execution time: 8_000 nanoseconds. - Weight::from_ref_time(8_000_000u64) - .saturating_add(T::DbWeight::get().writes(1u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(9_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } } - -// For backwards compatibility and tests -impl WeightInfo for () { - // Storage: Timestamp Now (r:0 w:1) - // Storage: Timestamp DidUpdate (r:0 w:1) - fn on_initialize() -> Weight { - // Minimum execution time: 0 nanoseconds. - Weight::from_ref_time(0u64) - .saturating_add(RocksDbWeight::get().writes(2u64)) - } - // Storage: Oracle OracleKeys (r:0 w:1) - fn update_oracle_keys() -> Weight { - // Minimum execution time: 8_000 nanoseconds. - Weight::from_ref_time(9_000_000u64) - .saturating_add(RocksDbWeight::get().writes(1u64)) - } - // Storage: Oracle MaxDelay (r:0 w:1) - fn set_max_delay() -> Weight { - // Minimum execution time: 8_000 nanoseconds. - Weight::from_ref_time(8_000_000u64) - .saturating_add(RocksDbWeight::get().writes(1u64)) - } -} \ No newline at end of file diff --git a/pallets/oracle/src/mock.rs b/pallets/oracle/src/mock.rs index 7a3daaf5b..835d641b7 100644 --- a/pallets/oracle/src/mock.rs +++ b/pallets/oracle/src/mock.rs @@ -186,7 +186,7 @@ impl currency::Config for Test { impl Config for Test { type RuntimeEvent = TestEvent; - type WeightInfo = (); + type WeightInfo = oracle::SubstrateWeight; type DataProvider = DiaOracleAdapter< MockDiaOracle, UnsignedFixedPoint, diff --git a/pallets/redeem/Cargo.toml b/pallets/redeem/Cargo.toml index f306d9400..0ff50be67 100644 --- a/pallets/redeem/Cargo.toml +++ b/pallets/redeem/Cargo.toml @@ -11,17 +11,17 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } # Substrate dependencies -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false, optional = true } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false, optional = true } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } # Parachain dependencies currency = { path = "../currency", default-features = false } @@ -33,16 +33,16 @@ vault-registry = { path = "../vault-registry", default-features = false } primitives = { package = "spacewalk-primitives", path = "../../primitives", default-features = false } -substrate-stellar-sdk = { git = "https://github.com/pendulum-chain/substrate-stellar-sdk", branch = "polkadot-v0.9.37", default-features = false, features = ['offchain'] } +substrate-stellar-sdk = { git = "https://github.com/pendulum-chain/substrate-stellar-sdk", branch = "polkadot-v0.9.40", default-features = false, features = ['offchain'] } # Orml dependencies -orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false, optional = true } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false, optional = true } +orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false, optional = true } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false, optional = true } [dev-dependencies] mocktopus = "0.8.0" -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } # Parachain dependencies reward = { path = "../reward" } @@ -53,8 +53,8 @@ security = { path = "../security", features = ['testing-utils'] } oracle = { path = "../oracle", features = ['testing-utils'] } # Orml dependencies -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37" } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37" } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40" } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40" } [features] default = ["std"] diff --git a/pallets/redeem/rpc/Cargo.toml b/pallets/redeem/rpc/Cargo.toml index 53d998d49..f1af0f887 100644 --- a/pallets/redeem/rpc/Cargo.toml +++ b/pallets/redeem/rpc/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0" } jsonrpsee = { version = "0.16.0", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } module-redeem-rpc-runtime-api = { path = "runtime-api" } diff --git a/pallets/redeem/rpc/runtime-api/Cargo.toml b/pallets/redeem/rpc/runtime-api/Cargo.toml index a2e0c5ce0..64a3894f4 100644 --- a/pallets/redeem/rpc/runtime-api/Cargo.toml +++ b/pallets/redeem/rpc/runtime-api/Cargo.toml @@ -6,9 +6,9 @@ edition = "2021" [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } [features] default = ["std"] diff --git a/pallets/redeem/rpc/src/lib.rs b/pallets/redeem/rpc/src/lib.rs index b0b6fcaef..91c099a4c 100644 --- a/pallets/redeem/rpc/src/lib.rs +++ b/pallets/redeem/rpc/src/lib.rs @@ -8,7 +8,7 @@ use jsonrpsee::{ }; use sp_api::ProvideRuntimeApi; use sp_blockchain::HeaderBackend; -use sp_runtime::{generic::BlockId, traits::Block as BlockT}; +use sp_runtime::traits::Block as BlockT; use std::sync::Arc; pub use module_redeem_rpc_runtime_api::RedeemApi as RedeemRuntimeApi; @@ -68,9 +68,9 @@ where at: Option<::Hash>, ) -> RpcResult> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); + let at = at.unwrap_or_else(|| self.client.info().best_hash); - api.get_redeem_requests(&at, account_id) + api.get_redeem_requests(at, account_id) .map_err(|e| internal_err(format!("Unable to fetch redeem requests: {:?}", e))) } @@ -80,9 +80,9 @@ where at: Option<::Hash>, ) -> RpcResult> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); + let at = at.unwrap_or_else(|| self.client.info().best_hash); - api.get_vault_redeem_requests(&at, vault_id) + api.get_vault_redeem_requests(at, vault_id) .map_err(|e| internal_err(format!("Unable to fetch redeem requests: {:?}", e))) } } diff --git a/pallets/redeem/src/benchmarking.rs b/pallets/redeem/src/benchmarking.rs index eea2011e3..2edda3818 100644 --- a/pallets/redeem/src/benchmarking.rs +++ b/pallets/redeem/src/benchmarking.rs @@ -108,7 +108,7 @@ benchmarks! { request_redeem { let origin: T::AccountId = account("Origin", 0, 0); let vault_id = get_vault_id::(); - let amount = Redeem::::redeem_minimum_transfer_amount() + 1000u32.into(); + let amount = Redeem::::redeem_minimum_transfer_amount() + 1000_0000u32.into(); let asset = CurrencyId::XCM(0); let stellar_address = DEFAULT_STELLAR_PUBLIC_KEY; diff --git a/pallets/redeem/src/default_weights.rs b/pallets/redeem/src/default_weights.rs index f99d6d39d..bddef4694 100644 --- a/pallets/redeem/src/default_weights.rs +++ b/pallets/redeem/src/default_weights.rs @@ -1,33 +1,37 @@ -//! Autogenerated weights for redeem +//! Autogenerated weights for `redeem` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-09, STEPS: `100`, REPEAT: 10, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `MacBook-Pro`, CPU: `` -//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-05-24, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `Bs-MacBook-Pro.local`, CPU: `` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: // ./target/release/spacewalk-standalone // benchmark // pallet -// --chain=dev -// --pallet=redeem -// --extrinsic=* +// --chain +// dev +// --execution=wasm +// --wasm-execution=compiled +// --pallet +// * +// --extrinsic +// * // --steps=100 // --repeat=10 -// --wasm-execution=compiled -// --output=pallets/redeem/src/default_weights.rs -// --template=./.maintain/frame-weight-template.hbs +// --output +// pallets #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(clippy::unnecessary_cast)] -use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weight functions needed for redeem. +/// Weight functions for `redeem`. pub trait WeightInfo { fn request_redeem() -> Weight; fn liquidation_redeem() -> Weight; @@ -41,281 +45,251 @@ pub trait WeightInfo { fn minimum_transfer_amount_update() -> Weight; } -/// Weights for redeem using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - // Storage: Redeem LimitVolumeAmount (r:1 w:0) - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: Tokens Accounts (r:1 w:1) - // Storage: Fee RedeemFee (r:1 w:0) - // Storage: VaultRegistry Vaults (r:1 w:1) - // Storage: Redeem RedeemMinimumTransferAmount (r:1 w:0) - // Storage: VaultRewards Stake (r:1 w:1) - // Storage: VaultRewards TotalStake (r:1 w:1) - // Storage: VaultRewards RewardTally (r:2 w:2) - // Storage: VaultRewards RewardPerToken (r:2 w:0) - // Storage: Security Nonce (r:1 w:1) - // Storage: System ParentHash (r:1 w:0) - // Storage: VaultRegistry PremiumRedeemThreshold (r:1 w:0) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking TotalCurrentStake (r:1 w:0) - // Storage: Fee PremiumRedeemFee (r:1 w:0) - // Storage: Security ActiveBlockCount (r:1 w:0) - // Storage: Redeem RedeemPeriod (r:1 w:0) - // Storage: Redeem RedeemRequests (r:0 w:1) + /// Storage: Redeem LimitVolumeAmount (r:1 w:0) + /// Proof: Redeem LimitVolumeAmount (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) + /// Storage: Security ParachainStatus (r:1 w:0) + /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Tokens Accounts (r:1 w:1) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(150), added: 2625, mode: MaxEncodedLen) + /// Storage: Fee RedeemFee (r:1 w:0) + /// Proof Skipped: Fee RedeemFee (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: VaultRegistry Vaults (r:1 w:1) + /// Proof Skipped: VaultRegistry Vaults (max_values: None, max_size: None, mode: Measured) + /// Storage: Redeem RedeemMinimumTransferAmount (r:1 w:0) + /// Proof: Redeem RedeemMinimumTransferAmount (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: VaultRewards Stake (r:1 w:0) + /// Proof Skipped: VaultRewards Stake (max_values: None, max_size: None, mode: Measured) + /// Storage: Security Nonce (r:1 w:1) + /// Proof Skipped: Security Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: System ParentHash (r:1 w:0) + /// Proof: System ParentHash (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: VaultRegistry PremiumRedeemThreshold (r:1 w:0) + /// Proof Skipped: VaultRegistry PremiumRedeemThreshold (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking Nonce (r:1 w:0) + /// Proof Skipped: VaultStaking Nonce (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalCurrentStake (r:1 w:0) + /// Proof Skipped: VaultStaking TotalCurrentStake (max_values: None, max_size: None, mode: Measured) + /// Storage: Fee PremiumRedeemFee (r:1 w:0) + /// Proof Skipped: Fee PremiumRedeemFee (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Security ActiveBlockCount (r:1 w:0) + /// Proof Skipped: Security ActiveBlockCount (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Redeem RedeemPeriod (r:1 w:0) + /// Proof: Redeem RedeemPeriod (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: Redeem RedeemRequests (r:0 w:1) + /// Proof: Redeem RedeemRequests (max_values: None, max_size: Some(356), added: 2831, mode: MaxEncodedLen) fn request_redeem() -> Weight { - // Minimum execution time: 77_000 nanoseconds. - Weight::from_ref_time(81_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(20 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Proof Size summary in bytes: + // Measured: `1770` + // Estimated: `52074` + // Minimum execution time: 103_000_000 picoseconds. + Weight::from_parts(105_000_000, 0) + .saturating_add(Weight::from_parts(0, 52074)) + .saturating_add(T::DbWeight::get().reads(15)) + .saturating_add(T::DbWeight::get().writes(4)) } - // Storage: Tokens Accounts (r:3 w:3) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Storage: VaultRegistry LiquidationVault (r:1 w:1) - // Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) - // Storage: System Account (r:2 w:1) + /// Storage: Tokens Accounts (r:3 w:3) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(150), added: 2625, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:1 w:1) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) + /// Storage: VaultRegistry LiquidationVault (r:1 w:1) + /// Proof Skipped: VaultRegistry LiquidationVault (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) + /// Proof Skipped: VaultRegistry TotalUserVaultCollateral (max_values: None, max_size: None, mode: Measured) + /// Storage: System Account (r:2 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) fn liquidation_redeem() -> Weight { - // Minimum execution time: 73_000 nanoseconds. - Weight::from_ref_time(80_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(8 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Proof Size summary in bytes: + // Measured: `1574` + // Estimated: `28674` + // Minimum execution time: 112_000_000 picoseconds. + Weight::from_parts(113_000_000, 0) + .saturating_add(Weight::from_parts(0, 28674)) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(7)) } - // Storage: Redeem RedeemRequests (r:1 w:1) - // Storage: StellarRelay IsPublicNetwork (r:1 w:0) - // Storage: StellarRelay NewValidatorsEnactmentBlockHeight (r:1 w:0) - // Storage: StellarRelay Validators (r:1 w:0) - // Storage: StellarRelay Organizations (r:1 w:0) - // Storage: Redeem LimitVolumeAmount (r:1 w:0) - // Storage: VaultRewards TotalStake (r:1 w:0) - // Storage: VaultRegistry Vaults (r:1 w:1) + /// Storage: Redeem RedeemRequests (r:1 w:1) + /// Proof: Redeem RedeemRequests (max_values: None, max_size: Some(356), added: 2831, mode: MaxEncodedLen) + /// Storage: StellarRelay NewValidatorsEnactmentBlockHeight (r:1 w:0) + /// Proof: StellarRelay NewValidatorsEnactmentBlockHeight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: StellarRelay Validators (r:1 w:0) + /// Proof: StellarRelay Validators (max_values: Some(1), max_size: Some(70382), added: 70877, mode: MaxEncodedLen) + /// Storage: StellarRelay Organizations (r:1 w:0) + /// Proof: StellarRelay Organizations (max_values: Some(1), max_size: Some(37232), added: 37727, mode: MaxEncodedLen) + /// Storage: Redeem LimitVolumeAmount (r:1 w:0) + /// Proof: Redeem LimitVolumeAmount (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) + /// Storage: VaultRewards TotalStake (r:1 w:0) + /// Proof Skipped: VaultRewards TotalStake (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: VaultRegistry Vaults (r:1 w:1) + /// Proof Skipped: VaultRegistry Vaults (max_values: None, max_size: None, mode: Measured) fn execute_redeem() -> Weight { - // Minimum execution time: 4_203_000 nanoseconds. - Weight::from_ref_time(4_276_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(8 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `1483` + // Estimated: `125312` + // Minimum execution time: 8_640_000_000 picoseconds. + Weight::from_parts(8_676_000_000, 0) + .saturating_add(Weight::from_parts(0, 125312)) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: Redeem RedeemRequests (r:1 w:1) - // Storage: Redeem RedeemPeriod (r:1 w:0) - // Storage: Security ActiveBlockCount (r:1 w:0) - // Storage: VaultRegistry Vaults (r:1 w:1) - // Storage: Fee PunishmentFee (r:1 w:0) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking TotalCurrentStake (r:1 w:0) - // Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) - // Storage: VaultStaking TotalStake (r:1 w:0) - // Storage: VaultRegistry PunishmentDelay (r:1 w:0) - // Storage: VaultRewards TotalStake (r:1 w:0) - // Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) - // Storage: VaultRewards Stake (r:1 w:0) + /// Storage: Security ParachainStatus (r:1 w:0) + /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Redeem RedeemRequests (r:1 w:1) + /// Proof: Redeem RedeemRequests (max_values: None, max_size: Some(356), added: 2831, mode: MaxEncodedLen) + /// Storage: Redeem RedeemPeriod (r:1 w:0) + /// Proof: Redeem RedeemPeriod (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: Security ActiveBlockCount (r:1 w:0) + /// Proof Skipped: Security ActiveBlockCount (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: VaultRegistry Vaults (r:1 w:1) + /// Proof Skipped: VaultRegistry Vaults (max_values: None, max_size: None, mode: Measured) + /// Storage: Fee PunishmentFee (r:1 w:0) + /// Proof Skipped: Fee PunishmentFee (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: VaultStaking Nonce (r:1 w:0) + /// Proof Skipped: VaultStaking Nonce (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalCurrentStake (r:1 w:0) + /// Proof Skipped: VaultStaking TotalCurrentStake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) + /// Proof Skipped: VaultRegistry TotalUserVaultCollateral (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalStake (r:1 w:0) + /// Proof Skipped: VaultStaking TotalStake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry PunishmentDelay (r:1 w:0) + /// Proof Skipped: VaultRegistry PunishmentDelay (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: VaultRewards TotalStake (r:1 w:0) + /// Proof Skipped: VaultRewards TotalStake (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) + /// Proof Skipped: VaultRegistry SecureCollateralThreshold (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards Stake (r:1 w:0) + /// Proof Skipped: VaultRewards Stake (max_values: None, max_size: None, mode: Measured) fn cancel_redeem_reimburse() -> Weight { - // Minimum execution time: 74_000 nanoseconds. - Weight::from_ref_time(78_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(14 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `2017` + // Estimated: `61194` + // Minimum execution time: 107_000_000 picoseconds. + Weight::from_parts(109_000_000, 0) + .saturating_add(Weight::from_parts(0, 61194)) + .saturating_add(T::DbWeight::get().reads(14)) + .saturating_add(T::DbWeight::get().writes(3)) } - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: Redeem RedeemRequests (r:1 w:1) - // Storage: Redeem RedeemPeriod (r:1 w:0) - // Storage: Security ActiveBlockCount (r:1 w:0) - // Storage: VaultRegistry Vaults (r:1 w:1) - // Storage: Fee PunishmentFee (r:1 w:0) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking TotalCurrentStake (r:1 w:0) - // Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) - // Storage: VaultStaking TotalStake (r:1 w:0) - // Storage: VaultRegistry PunishmentDelay (r:1 w:0) - // Storage: VaultRewards Stake (r:1 w:0) + /// Storage: Security ParachainStatus (r:1 w:0) + /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Redeem RedeemRequests (r:1 w:1) + /// Proof: Redeem RedeemRequests (max_values: None, max_size: Some(356), added: 2831, mode: MaxEncodedLen) + /// Storage: Redeem RedeemPeriod (r:1 w:0) + /// Proof: Redeem RedeemPeriod (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: Security ActiveBlockCount (r:1 w:0) + /// Proof Skipped: Security ActiveBlockCount (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: VaultRegistry Vaults (r:1 w:1) + /// Proof Skipped: VaultRegistry Vaults (max_values: None, max_size: None, mode: Measured) + /// Storage: Fee PunishmentFee (r:1 w:0) + /// Proof Skipped: Fee PunishmentFee (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: VaultStaking Nonce (r:1 w:0) + /// Proof Skipped: VaultStaking Nonce (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalCurrentStake (r:1 w:0) + /// Proof Skipped: VaultStaking TotalCurrentStake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) + /// Proof Skipped: VaultRegistry TotalUserVaultCollateral (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalStake (r:1 w:0) + /// Proof Skipped: VaultStaking TotalStake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry PunishmentDelay (r:1 w:0) + /// Proof Skipped: VaultRegistry PunishmentDelay (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: VaultRewards Stake (r:1 w:0) + /// Proof Skipped: VaultRewards Stake (max_values: None, max_size: None, mode: Measured) fn cancel_redeem_retry() -> Weight { - // Minimum execution time: 64_000 nanoseconds. - Weight::from_ref_time(66_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `1884` + // Estimated: `50880` + // Minimum execution time: 91_000_000 picoseconds. + Weight::from_parts(93_000_000, 0) + .saturating_add(Weight::from_parts(0, 50880)) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(3)) } - // Storage: VaultRegistry Vaults (r:1 w:1) - // Storage: Tokens Accounts (r:1 w:1) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Storage: VaultRewards TotalStake (r:1 w:1) - // Storage: VaultRewards RewardPerToken (r:2 w:1) - // Storage: VaultRewards TotalRewards (r:1 w:1) - // Storage: VaultRewards Stake (r:1 w:1) - // Storage: VaultRewards RewardTally (r:2 w:2) + /// Storage: VaultRegistry Vaults (r:1 w:1) + /// Proof Skipped: VaultRegistry Vaults (max_values: None, max_size: None, mode: Measured) + /// Storage: Tokens Accounts (r:1 w:1) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(150), added: 2625, mode: MaxEncodedLen) + /// Storage: Tokens TotalIssuance (r:1 w:1) + /// Proof: Tokens TotalIssuance (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen) + /// Storage: VaultRewards TotalStake (r:1 w:1) + /// Proof Skipped: VaultRewards TotalStake (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: VaultRewards RewardPerToken (r:2 w:1) + /// Proof Skipped: VaultRewards RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards TotalRewards (r:1 w:1) + /// Proof Skipped: VaultRewards TotalRewards (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards Stake (r:1 w:1) + /// Proof Skipped: VaultRewards Stake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards RewardTally (r:2 w:2) + /// Proof Skipped: VaultRewards RewardTally (max_values: None, max_size: None, mode: Measured) fn self_redeem() -> Weight { - // Minimum execution time: 82_000 nanoseconds. - Weight::from_ref_time(83_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(10 as u64)) - .saturating_add(T::DbWeight::get().writes(9 as u64)) + // Proof Size summary in bytes: + // Measured: `1903` + // Estimated: `42328` + // Minimum execution time: 126_000_000 picoseconds. + Weight::from_parts(130_000_000, 0) + .saturating_add(Weight::from_parts(0, 42328)) + .saturating_add(T::DbWeight::get().reads(10)) + .saturating_add(T::DbWeight::get().writes(9)) } - // Storage: Redeem RedeemPeriod (r:0 w:1) + /// Storage: Redeem RedeemPeriod (r:0 w:1) + /// Proof: Redeem RedeemPeriod (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn set_redeem_period() -> Weight { - // Minimum execution time: 11_000 nanoseconds. - Weight::from_ref_time(12_000_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(9_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: Redeem RedeemRequests (r:1 w:1) - // Storage: VaultRegistry Vaults (r:1 w:1) - // Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking TotalCurrentStake (r:1 w:0) - // Storage: VaultRewards Stake (r:1 w:0) + /// Storage: Security ParachainStatus (r:1 w:0) + /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Redeem RedeemRequests (r:1 w:1) + /// Proof: Redeem RedeemRequests (max_values: None, max_size: Some(356), added: 2831, mode: MaxEncodedLen) + /// Storage: VaultRegistry Vaults (r:1 w:1) + /// Proof Skipped: VaultRegistry Vaults (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) + /// Proof Skipped: VaultRegistry SecureCollateralThreshold (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking Nonce (r:1 w:0) + /// Proof Skipped: VaultStaking Nonce (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalCurrentStake (r:1 w:0) + /// Proof Skipped: VaultStaking TotalCurrentStake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards Stake (r:1 w:0) + /// Proof Skipped: VaultRewards Stake (max_values: None, max_size: None, mode: Measured) fn mint_tokens_for_reimbursed_redeem() -> Weight { - // Minimum execution time: 52_000 nanoseconds. - Weight::from_ref_time(54_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(7 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `1786` + // Estimated: `33347` + // Minimum execution time: 78_000_000 picoseconds. + Weight::from_parts(79_000_000, 0) + .saturating_add(Weight::from_parts(0, 33347)) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: Redeem LimitVolumeAmount (r:0 w:1) - // Storage: Redeem LimitVolumeCurrencyId (r:0 w:1) - // Storage: Redeem IntervalLength (r:0 w:1) + /// Storage: Redeem LimitVolumeAmount (r:0 w:1) + /// Proof: Redeem LimitVolumeAmount (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen) + /// Storage: Redeem LimitVolumeCurrencyId (r:0 w:1) + /// Proof: Redeem LimitVolumeCurrencyId (max_values: Some(1), max_size: Some(46), added: 541, mode: MaxEncodedLen) + /// Storage: Redeem IntervalLength (r:0 w:1) + /// Proof: Redeem IntervalLength (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn rate_limit_update() -> Weight { - // Minimum execution time: 12_000 nanoseconds. - Weight::from_ref_time(13_000_000 as u64) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(12_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(3)) } - // Storage: Redeem RedeemMinimumTransferAmount (r:0 w:1) + /// Storage: Redeem RedeemMinimumTransferAmount (r:0 w:1) + /// Proof: Redeem RedeemMinimumTransferAmount (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn minimum_transfer_amount_update() -> Weight { - // Minimum execution time: 11_000 nanoseconds. - Weight::from_ref_time(11_000_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(10_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } } - -// For backwards compatibility and tests -impl WeightInfo for () { - // Storage: Redeem LimitVolumeAmount (r:1 w:0) - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: Tokens Accounts (r:1 w:1) - // Storage: Fee RedeemFee (r:1 w:0) - // Storage: VaultRegistry Vaults (r:1 w:1) - // Storage: Redeem RedeemMinimumTransferAmount (r:1 w:0) - // Storage: VaultRewards Stake (r:1 w:1) - // Storage: VaultRewards TotalStake (r:1 w:1) - // Storage: VaultRewards RewardTally (r:2 w:2) - // Storage: VaultRewards RewardPerToken (r:2 w:0) - // Storage: Security Nonce (r:1 w:1) - // Storage: System ParentHash (r:1 w:0) - // Storage: VaultRegistry PremiumRedeemThreshold (r:1 w:0) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking TotalCurrentStake (r:1 w:0) - // Storage: Fee PremiumRedeemFee (r:1 w:0) - // Storage: Security ActiveBlockCount (r:1 w:0) - // Storage: Redeem RedeemPeriod (r:1 w:0) - // Storage: Redeem RedeemRequests (r:0 w:1) - fn request_redeem() -> Weight { - // Minimum execution time: 77_000 nanoseconds. - Weight::from_ref_time(81_000_000 as u64) - .saturating_add(RocksDbWeight::get().reads(20 as u64)) - .saturating_add(RocksDbWeight::get().writes(8 as u64)) - } - // Storage: Tokens Accounts (r:3 w:3) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Storage: VaultRegistry LiquidationVault (r:1 w:1) - // Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) - // Storage: System Account (r:2 w:1) - fn liquidation_redeem() -> Weight { - // Minimum execution time: 73_000 nanoseconds. - Weight::from_ref_time(80_000_000 as u64) - .saturating_add(RocksDbWeight::get().reads(8 as u64)) - .saturating_add(RocksDbWeight::get().writes(7 as u64)) - } - // Storage: Redeem RedeemRequests (r:1 w:1) - // Storage: StellarRelay IsPublicNetwork (r:1 w:0) - // Storage: StellarRelay NewValidatorsEnactmentBlockHeight (r:1 w:0) - // Storage: StellarRelay Validators (r:1 w:0) - // Storage: StellarRelay Organizations (r:1 w:0) - // Storage: Redeem LimitVolumeAmount (r:1 w:0) - // Storage: VaultRewards TotalStake (r:1 w:0) - // Storage: VaultRegistry Vaults (r:1 w:1) - fn execute_redeem() -> Weight { - // Minimum execution time: 4_203_000 nanoseconds. - Weight::from_ref_time(4_276_000_000 as u64) - .saturating_add(RocksDbWeight::get().reads(8 as u64)) - .saturating_add(RocksDbWeight::get().writes(2 as u64)) - } - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: Redeem RedeemRequests (r:1 w:1) - // Storage: Redeem RedeemPeriod (r:1 w:0) - // Storage: Security ActiveBlockCount (r:1 w:0) - // Storage: VaultRegistry Vaults (r:1 w:1) - // Storage: Fee PunishmentFee (r:1 w:0) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking TotalCurrentStake (r:1 w:0) - // Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) - // Storage: VaultStaking TotalStake (r:1 w:0) - // Storage: VaultRegistry PunishmentDelay (r:1 w:0) - // Storage: VaultRewards TotalStake (r:1 w:0) - // Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) - // Storage: VaultRewards Stake (r:1 w:0) - fn cancel_redeem_reimburse() -> Weight { - // Minimum execution time: 74_000 nanoseconds. - Weight::from_ref_time(78_000_000 as u64) - .saturating_add(RocksDbWeight::get().reads(14 as u64)) - .saturating_add(RocksDbWeight::get().writes(3 as u64)) - } - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: Redeem RedeemRequests (r:1 w:1) - // Storage: Redeem RedeemPeriod (r:1 w:0) - // Storage: Security ActiveBlockCount (r:1 w:0) - // Storage: VaultRegistry Vaults (r:1 w:1) - // Storage: Fee PunishmentFee (r:1 w:0) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking TotalCurrentStake (r:1 w:0) - // Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) - // Storage: VaultStaking TotalStake (r:1 w:0) - // Storage: VaultRegistry PunishmentDelay (r:1 w:0) - // Storage: VaultRewards Stake (r:1 w:0) - fn cancel_redeem_retry() -> Weight { - // Minimum execution time: 64_000 nanoseconds. - Weight::from_ref_time(66_000_000 as u64) - .saturating_add(RocksDbWeight::get().reads(12 as u64)) - .saturating_add(RocksDbWeight::get().writes(3 as u64)) - } - // Storage: VaultRegistry Vaults (r:1 w:1) - // Storage: Tokens Accounts (r:1 w:1) - // Storage: Tokens TotalIssuance (r:1 w:1) - // Storage: VaultRewards TotalStake (r:1 w:1) - // Storage: VaultRewards RewardPerToken (r:2 w:1) - // Storage: VaultRewards TotalRewards (r:1 w:1) - // Storage: VaultRewards Stake (r:1 w:1) - // Storage: VaultRewards RewardTally (r:2 w:2) - fn self_redeem() -> Weight { - // Minimum execution time: 82_000 nanoseconds. - Weight::from_ref_time(83_000_000 as u64) - .saturating_add(RocksDbWeight::get().reads(10 as u64)) - .saturating_add(RocksDbWeight::get().writes(9 as u64)) - } - // Storage: Redeem RedeemPeriod (r:0 w:1) - fn set_redeem_period() -> Weight { - // Minimum execution time: 11_000 nanoseconds. - Weight::from_ref_time(12_000_000 as u64) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) - } - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: Redeem RedeemRequests (r:1 w:1) - // Storage: VaultRegistry Vaults (r:1 w:1) - // Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking TotalCurrentStake (r:1 w:0) - // Storage: VaultRewards Stake (r:1 w:0) - fn mint_tokens_for_reimbursed_redeem() -> Weight { - // Minimum execution time: 52_000 nanoseconds. - Weight::from_ref_time(54_000_000 as u64) - .saturating_add(RocksDbWeight::get().reads(7 as u64)) - .saturating_add(RocksDbWeight::get().writes(2 as u64)) - } - // Storage: Redeem LimitVolumeAmount (r:0 w:1) - // Storage: Redeem LimitVolumeCurrencyId (r:0 w:1) - // Storage: Redeem IntervalLength (r:0 w:1) - fn rate_limit_update() -> Weight { - // Minimum execution time: 12_000 nanoseconds. - Weight::from_ref_time(13_000_000 as u64) - .saturating_add(RocksDbWeight::get().writes(3 as u64)) - } - // Storage: Redeem RedeemMinimumTransferAmount (r:0 w:1) - fn minimum_transfer_amount_update() -> Weight { - // Minimum execution time: 11_000 nanoseconds. - Weight::from_ref_time(11_000_000 as u64) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) - } -} \ No newline at end of file diff --git a/pallets/redeem/src/mock.rs b/pallets/redeem/src/mock.rs index 1a23c123a..c204c33af 100644 --- a/pallets/redeem/src/mock.rs +++ b/pallets/redeem/src/mock.rs @@ -197,7 +197,7 @@ impl vault_registry::Config for Test { type PalletId = VaultPalletId; type RuntimeEvent = TestEvent; type Balance = Balance; - type WeightInfo = (); + type WeightInfo = vault_registry::SubstrateWeight; type GetGriefingCollateralCurrencyId = GetNativeCurrencyId; } @@ -279,7 +279,7 @@ impl stellar_relay::Config for Test { type OrganizationLimit = OrganizationLimit; type ValidatorLimit = ValidatorLimit; type IsPublicNetwork = IsPublicNetwork; - type WeightInfo = (); + type WeightInfo = stellar_relay::SubstrateWeight; } impl security::Config for Test { @@ -300,7 +300,7 @@ impl pallet_timestamp::Config for Test { impl oracle::Config for Test { type RuntimeEvent = TestEvent; - type WeightInfo = (); + type WeightInfo = oracle::SubstrateWeight; type DataProvider = DiaOracleAdapter< MockDiaOracle, UnsignedFixedPoint, @@ -319,7 +319,7 @@ parameter_types! { impl fee::Config for Test { type FeePalletId = FeePalletId; - type WeightInfo = (); + type WeightInfo = fee::SubstrateWeight; type SignedFixedPoint = SignedFixedPoint; type SignedInner = SignedInner; type UnsignedFixedPoint = UnsignedFixedPoint; @@ -332,7 +332,7 @@ impl fee::Config for Test { impl Config for Test { type RuntimeEvent = TestEvent; - type WeightInfo = (); + type WeightInfo = crate::SubstrateWeight; } pub type TestEvent = RuntimeEvent; diff --git a/pallets/replace/Cargo.toml b/pallets/replace/Cargo.toml index 04a812665..21cda344e 100644 --- a/pallets/replace/Cargo.toml +++ b/pallets/replace/Cargo.toml @@ -11,17 +11,17 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = scale-info = { version = "2.0.0", default-features = false, features = ["derive"] } # Substrate dependencies -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false, optional = true } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false, optional = true } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } # Parachain dependencies currency = { path = "../currency", default-features = false } @@ -33,16 +33,16 @@ security = { path = "../security", default-features = false } stellar-relay = { path = "../stellar-relay", default-features = false } vault-registry = { path = "../vault-registry", default-features = false } -substrate-stellar-sdk = { git = "https://github.com/pendulum-chain/substrate-stellar-sdk", branch = "polkadot-v0.9.37", default-features = false, features = ['offchain'] } +substrate-stellar-sdk = { git = "https://github.com/pendulum-chain/substrate-stellar-sdk", branch = "polkadot-v0.9.40", default-features = false, features = ['offchain'] } # Orml dependencies -orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false, optional = true } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false, optional = true } +orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false, optional = true } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false, optional = true } [dev-dependencies] mocktopus = "0.8.0" -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } # Parachain dependencies reward = { path = "../reward" } @@ -53,8 +53,8 @@ security = { path = "../security", features = ['testing-utils'] } oracle = { path = "../oracle", features = ['testing-utils'] } # Orml dependencies -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37" } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37" } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40" } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40" } [features] default = ["std"] diff --git a/pallets/replace/rpc/Cargo.toml b/pallets/replace/rpc/Cargo.toml index a23cc3ecf..fe3d1e2ea 100644 --- a/pallets/replace/rpc/Cargo.toml +++ b/pallets/replace/rpc/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0" } jsonrpsee = { version = "0.16.0", features = ["server", "macros"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } module-replace-rpc-runtime-api = { path = "runtime-api" } diff --git a/pallets/replace/rpc/runtime-api/Cargo.toml b/pallets/replace/rpc/runtime-api/Cargo.toml index 089320a83..d8b58dc0f 100644 --- a/pallets/replace/rpc/runtime-api/Cargo.toml +++ b/pallets/replace/rpc/runtime-api/Cargo.toml @@ -6,9 +6,9 @@ edition = "2021" [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } [features] default = ["std"] diff --git a/pallets/replace/rpc/src/lib.rs b/pallets/replace/rpc/src/lib.rs index 55c7229ea..bb60a2b12 100644 --- a/pallets/replace/rpc/src/lib.rs +++ b/pallets/replace/rpc/src/lib.rs @@ -8,7 +8,7 @@ use jsonrpsee::{ }; use sp_api::ProvideRuntimeApi; use sp_blockchain::HeaderBackend; -use sp_runtime::{generic::BlockId, traits::Block as BlockT}; +use sp_runtime::traits::Block as BlockT; use std::sync::Arc; pub use module_replace_rpc_runtime_api::ReplaceApi as ReplaceRuntimeApi; @@ -68,9 +68,9 @@ where at: Option<::Hash>, ) -> RpcResult> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); + let at = at.unwrap_or_else(|| self.client.info().best_hash); - api.get_old_vault_replace_requests(&at, vault_id) + api.get_old_vault_replace_requests(at, vault_id) .map_err(|e| internal_err(format!("Unable to fetch replace requests: {:?}", e))) } @@ -80,9 +80,9 @@ where at: Option<::Hash>, ) -> RpcResult> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); + let at = at.unwrap_or_else(|| self.client.info().best_hash); - api.get_new_vault_replace_requests(&at, vault_id) + api.get_new_vault_replace_requests(at, vault_id) .map_err(|e| internal_err(format!("Unable to fetch replace requests: {:?}", e))) } } diff --git a/pallets/replace/src/benchmarking.rs b/pallets/replace/src/benchmarking.rs index f6b0e474a..c8a9bce22 100644 --- a/pallets/replace/src/benchmarking.rs +++ b/pallets/replace/src/benchmarking.rs @@ -117,7 +117,7 @@ benchmarks! { initialize_oracle::(); let vault_id = get_vault_id::("Vault"); mint_collateral::(&vault_id.account_id, (1u32 << 31).into()); - let amount = Replace::::minimum_transfer_amount(get_wrapped_currency_id()).amount() + 1000u32.into(); + let amount = Replace::::minimum_transfer_amount(get_wrapped_currency_id()).amount() + 1000_0000u32.into(); register_public_key::(vault_id.clone()); diff --git a/pallets/replace/src/default_weights.rs b/pallets/replace/src/default_weights.rs index 6dbacb0f9..9b7d94f1e 100644 --- a/pallets/replace/src/default_weights.rs +++ b/pallets/replace/src/default_weights.rs @@ -1,33 +1,37 @@ -//! Autogenerated weights for replace +//! Autogenerated weights for `replace` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-09, STEPS: `100`, REPEAT: 10, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `MacBook-Pro`, CPU: `` -//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-05-24, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `Bs-MacBook-Pro.local`, CPU: `` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: // ./target/release/spacewalk-standalone // benchmark // pallet -// --chain=dev -// --pallet=replace -// --extrinsic=* +// --chain +// dev +// --execution=wasm +// --wasm-execution=compiled +// --pallet +// * +// --extrinsic +// * // --steps=100 // --repeat=10 -// --wasm-execution=compiled -// --output=pallets/replace/src/default_weights.rs -// --template=./.maintain/frame-weight-template.hbs +// --output +// pallets #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(clippy::unnecessary_cast)] -use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weight functions needed for replace. +/// Weight functions for `replace`. pub trait WeightInfo { fn request_replace() -> Weight; fn withdraw_replace() -> Weight; @@ -38,205 +42,186 @@ pub trait WeightInfo { fn minimum_transfer_amount_update() -> Weight; } -/// Weights for replace using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - // Storage: VaultRegistry Vaults (r:1 w:1) - // Storage: Nomination Vaults (r:1 w:0) - // Storage: Replace ReplaceMinimumTransferAmount (r:1 w:0) - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: Fee ReplaceGriefingCollateral (r:1 w:0) - // Storage: Tokens Accounts (r:1 w:1) + /// Storage: VaultRegistry Vaults (r:1 w:1) + /// Proof Skipped: VaultRegistry Vaults (max_values: None, max_size: None, mode: Measured) + /// Storage: Nomination Vaults (r:1 w:0) + /// Proof: Nomination Vaults (max_values: None, max_size: Some(141), added: 2616, mode: MaxEncodedLen) + /// Storage: Replace ReplaceMinimumTransferAmount (r:1 w:0) + /// Proof: Replace ReplaceMinimumTransferAmount (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Security ParachainStatus (r:1 w:0) + /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Fee ReplaceGriefingCollateral (r:1 w:0) + /// Proof Skipped: Fee ReplaceGriefingCollateral (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Tokens Accounts (r:1 w:1) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(150), added: 2625, mode: MaxEncodedLen) fn request_replace() -> Weight { - // Minimum execution time: 77_000 nanoseconds. - Weight::from_ref_time(94_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Proof Size summary in bytes: + // Measured: `1501` + // Estimated: `19660` + // Minimum execution time: 68_000_000 picoseconds. + Weight::from_parts(68_000_000, 0) + .saturating_add(Weight::from_parts(0, 19660)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(2)) } - // Storage: VaultRegistry Vaults (r:1 w:1) + /// Storage: VaultRegistry Vaults (r:1 w:1) + /// Proof Skipped: VaultRegistry Vaults (max_values: None, max_size: None, mode: Measured) fn withdraw_replace() -> Weight { - // Minimum execution time: 24_000 nanoseconds. - Weight::from_ref_time(25_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `584` + // Estimated: `4049` + // Minimum execution time: 29_000_000 picoseconds. + Weight::from_parts(30_000_000, 0) + .saturating_add(Weight::from_parts(0, 4049)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VaultRegistry Vaults (r:2 w:2) - // Storage: Replace ReplaceMinimumTransferAmount (r:1 w:0) - // Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) - // Storage: VaultRegistry SystemCollateralCeiling (r:1 w:0) - // Storage: Tokens Accounts (r:1 w:1) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking Stake (r:1 w:1) - // Storage: VaultStaking SlashPerToken (r:1 w:0) - // Storage: VaultStaking SlashTally (r:1 w:1) - // Storage: VaultStaking TotalStake (r:1 w:1) - // Storage: VaultStaking TotalCurrentStake (r:1 w:1) - // Storage: VaultStaking RewardTally (r:2 w:2) - // Storage: VaultStaking RewardPerToken (r:2 w:0) - // Storage: VaultRewards Stake (r:1 w:1) - // Storage: VaultRewards TotalStake (r:1 w:1) - // Storage: VaultRewards RewardTally (r:2 w:2) - // Storage: VaultRewards RewardPerToken (r:2 w:0) - // Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: Security Nonce (r:1 w:1) - // Storage: System ParentHash (r:1 w:0) - // Storage: Security ActiveBlockCount (r:1 w:0) - // Storage: Replace ReplacePeriod (r:1 w:0) - // Storage: Replace ReplaceRequests (r:0 w:1) + /// Storage: VaultRegistry Vaults (r:2 w:2) + /// Proof Skipped: VaultRegistry Vaults (max_values: None, max_size: None, mode: Measured) + /// Storage: Replace ReplaceMinimumTransferAmount (r:1 w:0) + /// Proof: Replace ReplaceMinimumTransferAmount (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) + /// Proof Skipped: VaultRegistry TotalUserVaultCollateral (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry SystemCollateralCeiling (r:1 w:0) + /// Proof Skipped: VaultRegistry SystemCollateralCeiling (max_values: None, max_size: None, mode: Measured) + /// Storage: Tokens Accounts (r:1 w:1) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(150), added: 2625, mode: MaxEncodedLen) + /// Storage: VaultStaking Nonce (r:1 w:0) + /// Proof Skipped: VaultStaking Nonce (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking Stake (r:1 w:1) + /// Proof Skipped: VaultStaking Stake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking SlashPerToken (r:1 w:0) + /// Proof Skipped: VaultStaking SlashPerToken (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking SlashTally (r:1 w:1) + /// Proof Skipped: VaultStaking SlashTally (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalStake (r:1 w:1) + /// Proof Skipped: VaultStaking TotalStake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalCurrentStake (r:1 w:1) + /// Proof Skipped: VaultStaking TotalCurrentStake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking RewardTally (r:2 w:2) + /// Proof Skipped: VaultStaking RewardTally (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking RewardPerToken (r:2 w:0) + /// Proof Skipped: VaultStaking RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards Stake (r:1 w:1) + /// Proof Skipped: VaultRewards Stake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards TotalStake (r:1 w:1) + /// Proof Skipped: VaultRewards TotalStake (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: VaultRewards RewardTally (r:2 w:2) + /// Proof Skipped: VaultRewards RewardTally (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards RewardPerToken (r:2 w:0) + /// Proof Skipped: VaultRewards RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) + /// Proof Skipped: VaultRegistry SecureCollateralThreshold (max_values: None, max_size: None, mode: Measured) + /// Storage: Security ParachainStatus (r:1 w:0) + /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Security Nonce (r:1 w:1) + /// Proof Skipped: Security Nonce (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: System ParentHash (r:1 w:0) + /// Proof: System ParentHash (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) + /// Storage: Security ActiveBlockCount (r:1 w:0) + /// Proof Skipped: Security ActiveBlockCount (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: Replace ReplacePeriod (r:1 w:0) + /// Proof: Replace ReplacePeriod (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: Replace ReplaceRequests (r:0 w:1) + /// Proof: Replace ReplaceRequests (max_values: None, max_size: Some(431), added: 2906, mode: MaxEncodedLen) fn accept_replace() -> Weight { - // Minimum execution time: 146_000 nanoseconds. - Weight::from_ref_time(151_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(28 as u64)) - .saturating_add(T::DbWeight::get().writes(16 as u64)) + // Proof Size summary in bytes: + // Measured: `3734` + // Estimated: `149358` + // Minimum execution time: 230_000_000 picoseconds. + Weight::from_parts(235_000_000, 0) + .saturating_add(Weight::from_parts(0, 149358)) + .saturating_add(T::DbWeight::get().reads(28)) + .saturating_add(T::DbWeight::get().writes(16)) } - // Storage: Replace ReplaceRequests (r:1 w:1) - // Storage: StellarRelay IsPublicNetwork (r:1 w:0) - // Storage: StellarRelay NewValidatorsEnactmentBlockHeight (r:1 w:0) - // Storage: StellarRelay Validators (r:1 w:0) - // Storage: StellarRelay Organizations (r:1 w:0) - // Storage: VaultRegistry Vaults (r:2 w:2) - // Storage: VaultRewards Stake (r:1 w:0) + /// Storage: Replace ReplaceRequests (r:1 w:1) + /// Proof: Replace ReplaceRequests (max_values: None, max_size: Some(431), added: 2906, mode: MaxEncodedLen) + /// Storage: StellarRelay NewValidatorsEnactmentBlockHeight (r:1 w:0) + /// Proof: StellarRelay NewValidatorsEnactmentBlockHeight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: StellarRelay Validators (r:1 w:0) + /// Proof: StellarRelay Validators (max_values: Some(1), max_size: Some(70382), added: 70877, mode: MaxEncodedLen) + /// Storage: StellarRelay Organizations (r:1 w:0) + /// Proof: StellarRelay Organizations (max_values: Some(1), max_size: Some(37232), added: 37727, mode: MaxEncodedLen) + /// Storage: VaultRegistry Vaults (r:2 w:2) + /// Proof Skipped: VaultRegistry Vaults (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards Stake (r:1 w:0) + /// Proof Skipped: VaultRewards Stake (max_values: None, max_size: None, mode: Measured) fn execute_replace() -> Weight { - // Minimum execution time: 4_209_000 nanoseconds. - Weight::from_ref_time(4_390_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(8 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `1663` + // Estimated: `128700` + // Minimum execution time: 8_667_000_000 picoseconds. + Weight::from_parts(8_695_000_000, 0) + .saturating_add(Weight::from_parts(0, 128700)) + .saturating_add(T::DbWeight::get().reads(7)) + .saturating_add(T::DbWeight::get().writes(3)) } - // Storage: Replace ReplaceRequests (r:1 w:1) - // Storage: Replace ReplacePeriod (r:1 w:0) - // Storage: Security ActiveBlockCount (r:1 w:0) - // Storage: VaultRegistry Vaults (r:2 w:2) - // Storage: VaultRewards Stake (r:1 w:1) - // Storage: VaultRewards TotalStake (r:1 w:1) - // Storage: VaultRewards RewardTally (r:2 w:2) - // Storage: VaultRewards RewardPerToken (r:2 w:0) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking TotalCurrentStake (r:1 w:0) - // Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) - // Storage: VaultStaking Stake (r:1 w:1) - // Storage: VaultStaking SlashPerToken (r:1 w:0) - // Storage: VaultStaking SlashTally (r:1 w:1) - // Storage: VaultStaking TotalStake (r:1 w:1) + /// Storage: Replace ReplaceRequests (r:1 w:1) + /// Proof: Replace ReplaceRequests (max_values: None, max_size: Some(431), added: 2906, mode: MaxEncodedLen) + /// Storage: Replace ReplacePeriod (r:1 w:0) + /// Proof: Replace ReplacePeriod (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: Security ActiveBlockCount (r:1 w:0) + /// Proof Skipped: Security ActiveBlockCount (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: VaultRegistry Vaults (r:2 w:2) + /// Proof Skipped: VaultRegistry Vaults (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards Stake (r:1 w:1) + /// Proof Skipped: VaultRewards Stake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards TotalStake (r:1 w:1) + /// Proof Skipped: VaultRewards TotalStake (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: VaultRewards RewardTally (r:2 w:2) + /// Proof Skipped: VaultRewards RewardTally (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards RewardPerToken (r:2 w:0) + /// Proof Skipped: VaultRewards RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking Nonce (r:1 w:0) + /// Proof Skipped: VaultStaking Nonce (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalCurrentStake (r:1 w:0) + /// Proof Skipped: VaultStaking TotalCurrentStake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) + /// Proof Skipped: VaultRegistry SecureCollateralThreshold (max_values: None, max_size: None, mode: Measured) + /// Storage: Security ParachainStatus (r:1 w:0) + /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) + /// Proof Skipped: VaultRegistry TotalUserVaultCollateral (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking Stake (r:1 w:1) + /// Proof Skipped: VaultStaking Stake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking SlashPerToken (r:1 w:0) + /// Proof Skipped: VaultStaking SlashPerToken (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking SlashTally (r:1 w:1) + /// Proof Skipped: VaultStaking SlashTally (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalStake (r:1 w:1) + /// Proof Skipped: VaultStaking TotalStake (max_values: None, max_size: None, mode: Measured) fn cancel_replace() -> Weight { - // Minimum execution time: 98_000 nanoseconds. - Weight::from_ref_time(113_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(20 as u64)) - .saturating_add(T::DbWeight::get().writes(11 as u64)) + // Proof Size summary in bytes: + // Measured: `2966` + // Estimated: `103335` + // Minimum execution time: 135_000_000 picoseconds. + Weight::from_parts(139_000_000, 0) + .saturating_add(Weight::from_parts(0, 103335)) + .saturating_add(T::DbWeight::get().reads(20)) + .saturating_add(T::DbWeight::get().writes(11)) } - // Storage: Replace ReplacePeriod (r:0 w:1) + /// Storage: Replace ReplacePeriod (r:0 w:1) + /// Proof: Replace ReplacePeriod (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) fn set_replace_period() -> Weight { - // Minimum execution time: 11_000 nanoseconds. - Weight::from_ref_time(11_000_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(9_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: Replace ReplaceMinimumTransferAmount (r:0 w:1) + /// Storage: Replace ReplaceMinimumTransferAmount (r:0 w:1) + /// Proof: Replace ReplaceMinimumTransferAmount (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) fn minimum_transfer_amount_update() -> Weight { - // Minimum execution time: 12_000 nanoseconds. - Weight::from_ref_time(17_000_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(10_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } } - -// For backwards compatibility and tests -impl WeightInfo for () { - // Storage: VaultRegistry Vaults (r:1 w:1) - // Storage: Nomination Vaults (r:1 w:0) - // Storage: Replace ReplaceMinimumTransferAmount (r:1 w:0) - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: Fee ReplaceGriefingCollateral (r:1 w:0) - // Storage: Tokens Accounts (r:1 w:1) - fn request_replace() -> Weight { - // Minimum execution time: 77_000 nanoseconds. - Weight::from_ref_time(94_000_000 as u64) - .saturating_add(RocksDbWeight::get().reads(6 as u64)) - .saturating_add(RocksDbWeight::get().writes(2 as u64)) - } - // Storage: VaultRegistry Vaults (r:1 w:1) - fn withdraw_replace() -> Weight { - // Minimum execution time: 24_000 nanoseconds. - Weight::from_ref_time(25_000_000 as u64) - .saturating_add(RocksDbWeight::get().reads(1 as u64)) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) - } - // Storage: VaultRegistry Vaults (r:2 w:2) - // Storage: Replace ReplaceMinimumTransferAmount (r:1 w:0) - // Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) - // Storage: VaultRegistry SystemCollateralCeiling (r:1 w:0) - // Storage: Tokens Accounts (r:1 w:1) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking Stake (r:1 w:1) - // Storage: VaultStaking SlashPerToken (r:1 w:0) - // Storage: VaultStaking SlashTally (r:1 w:1) - // Storage: VaultStaking TotalStake (r:1 w:1) - // Storage: VaultStaking TotalCurrentStake (r:1 w:1) - // Storage: VaultStaking RewardTally (r:2 w:2) - // Storage: VaultStaking RewardPerToken (r:2 w:0) - // Storage: VaultRewards Stake (r:1 w:1) - // Storage: VaultRewards TotalStake (r:1 w:1) - // Storage: VaultRewards RewardTally (r:2 w:2) - // Storage: VaultRewards RewardPerToken (r:2 w:0) - // Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: Security Nonce (r:1 w:1) - // Storage: System ParentHash (r:1 w:0) - // Storage: Security ActiveBlockCount (r:1 w:0) - // Storage: Replace ReplacePeriod (r:1 w:0) - // Storage: Replace ReplaceRequests (r:0 w:1) - fn accept_replace() -> Weight { - // Minimum execution time: 146_000 nanoseconds. - Weight::from_ref_time(151_000_000 as u64) - .saturating_add(RocksDbWeight::get().reads(28 as u64)) - .saturating_add(RocksDbWeight::get().writes(16 as u64)) - } - // Storage: Replace ReplaceRequests (r:1 w:1) - // Storage: StellarRelay IsPublicNetwork (r:1 w:0) - // Storage: StellarRelay NewValidatorsEnactmentBlockHeight (r:1 w:0) - // Storage: StellarRelay Validators (r:1 w:0) - // Storage: StellarRelay Organizations (r:1 w:0) - // Storage: VaultRegistry Vaults (r:2 w:2) - // Storage: VaultRewards Stake (r:1 w:0) - fn execute_replace() -> Weight { - // Minimum execution time: 4_209_000 nanoseconds. - Weight::from_ref_time(4_390_000_000 as u64) - .saturating_add(RocksDbWeight::get().reads(8 as u64)) - .saturating_add(RocksDbWeight::get().writes(3 as u64)) - } - // Storage: Replace ReplaceRequests (r:1 w:1) - // Storage: Replace ReplacePeriod (r:1 w:0) - // Storage: Security ActiveBlockCount (r:1 w:0) - // Storage: VaultRegistry Vaults (r:2 w:2) - // Storage: VaultRewards Stake (r:1 w:1) - // Storage: VaultRewards TotalStake (r:1 w:1) - // Storage: VaultRewards RewardTally (r:2 w:2) - // Storage: VaultRewards RewardPerToken (r:2 w:0) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking TotalCurrentStake (r:1 w:0) - // Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) - // Storage: VaultStaking Stake (r:1 w:1) - // Storage: VaultStaking SlashPerToken (r:1 w:0) - // Storage: VaultStaking SlashTally (r:1 w:1) - // Storage: VaultStaking TotalStake (r:1 w:1) - fn cancel_replace() -> Weight { - // Minimum execution time: 98_000 nanoseconds. - Weight::from_ref_time(113_000_000 as u64) - .saturating_add(RocksDbWeight::get().reads(20 as u64)) - .saturating_add(RocksDbWeight::get().writes(11 as u64)) - } - // Storage: Replace ReplacePeriod (r:0 w:1) - fn set_replace_period() -> Weight { - // Minimum execution time: 11_000 nanoseconds. - Weight::from_ref_time(11_000_000 as u64) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) - } - // Storage: Replace ReplaceMinimumTransferAmount (r:0 w:1) - fn minimum_transfer_amount_update() -> Weight { - // Minimum execution time: 12_000 nanoseconds. - Weight::from_ref_time(17_000_000 as u64) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) - } -} \ No newline at end of file diff --git a/pallets/replace/src/mock.rs b/pallets/replace/src/mock.rs index b03f0042e..f54e36b83 100644 --- a/pallets/replace/src/mock.rs +++ b/pallets/replace/src/mock.rs @@ -246,7 +246,7 @@ impl vault_registry::Config for Test { type PalletId = VaultPalletId; type RuntimeEvent = TestEvent; type Balance = Balance; - type WeightInfo = (); + type WeightInfo = vault_registry::SubstrateWeight; type GetGriefingCollateralCurrencyId = GetNativeCurrencyId; } @@ -272,7 +272,7 @@ impl stellar_relay::Config for Test { type OrganizationLimit = OrganizationLimit; type ValidatorLimit = ValidatorLimit; type IsPublicNetwork = IsPublicNetwork; - type WeightInfo = (); + type WeightInfo = stellar_relay::SubstrateWeight; } impl security::Config for Test { @@ -282,7 +282,7 @@ impl security::Config for Test { impl nomination::Config for Test { type RuntimeEvent = TestEvent; - type WeightInfo = (); + type WeightInfo = nomination::SubstrateWeight; } parameter_types! { @@ -298,7 +298,7 @@ impl pallet_timestamp::Config for Test { impl oracle::Config for Test { type RuntimeEvent = TestEvent; - type WeightInfo = (); + type WeightInfo = oracle::SubstrateWeight; type DataProvider = DiaOracleAdapter< MockDiaOracle, UnsignedFixedPoint, @@ -317,7 +317,7 @@ parameter_types! { impl fee::Config for Test { type FeePalletId = FeePalletId; - type WeightInfo = (); + type WeightInfo = fee::SubstrateWeight; type SignedFixedPoint = SignedFixedPoint; type SignedInner = SignedInner; type UnsignedFixedPoint = UnsignedFixedPoint; @@ -330,7 +330,7 @@ impl fee::Config for Test { impl Config for Test { type RuntimeEvent = TestEvent; - type WeightInfo = (); + type WeightInfo = crate::SubstrateWeight; } pub type TestEvent = RuntimeEvent; diff --git a/pallets/reward/Cargo.toml b/pallets/reward/Cargo.toml index 3b0a24622..afb976c64 100644 --- a/pallets/reward/Cargo.toml +++ b/pallets/reward/Cargo.toml @@ -14,21 +14,21 @@ scale-info = { version = "2.0.0", default-features = false, features = ["derive" primitives = { package = "spacewalk-primitives", path = "../../primitives", default-features = false } # Substrate dependencies -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false, optional = true } [dev-dependencies] mocktopus = "0.8.0" rand = "0.8.3" -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } currency = { path = "../currency", default-features = false, features = ["testing-constants"] } diff --git a/pallets/security/Cargo.toml b/pallets/security/Cargo.toml index 46d570b16..6887d5774 100644 --- a/pallets/security/Cargo.toml +++ b/pallets/security/Cargo.toml @@ -11,17 +11,17 @@ serde = {version = "1.0.130", default-features = false, features = ["derive"], o sha2 = {version = "0.8.2", default-features = false} # Substrate dependencies -frame-support = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -frame-system = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -sp-core = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -sp-runtime = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -sp-std = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} +frame-support = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +frame-system = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-core = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-runtime = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-std = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} [dev-dependencies] mocktopus = "0.8.0" -sp-io = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} +sp-io = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} [features] default = ["std"] diff --git a/pallets/security/src/default_weights.rs b/pallets/security/src/default_weights.rs index c38cf9edc..46fa67efc 100644 --- a/pallets/security/src/default_weights.rs +++ b/pallets/security/src/default_weights.rs @@ -21,19 +21,19 @@ pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { fn on_initialize() -> Weight { // Minimum execution time: 1_000 nanoseconds. - Weight::from_ref_time(1_000_000_u64) + Weight::from_parts(1_000_000_u64,0) .saturating_add(T::DbWeight::get().writes(1_u64)) } fn set_parachain_status() -> Weight { - Weight::from_ref_time(0_u64) + Weight::from_parts(0_u64,0) .saturating_add(T::DbWeight::get().writes(1_u64)) } fn insert_parachain_error() -> Weight { - Weight::from_ref_time(0_u64) + Weight::from_parts(0_u64,0) .saturating_add(T::DbWeight::get().writes(1_u64)) } fn remove_parachain_error() -> Weight { - Weight::from_ref_time(0_u64) + Weight::from_parts(0_u64,0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } @@ -42,19 +42,19 @@ impl WeightInfo for SubstrateWeight { impl WeightInfo for () { fn on_initialize() -> Weight { // Minimum execution time: 1_000 nanoseconds. - Weight::from_ref_time(1_000_000_u64) + Weight::from_parts(1_000_000_u64,0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } fn set_parachain_status() -> Weight { - Weight::from_ref_time(0_u64) + Weight::from_parts(0_u64,0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } fn insert_parachain_error() -> Weight { - Weight::from_ref_time(0_u64) + Weight::from_parts(0_u64,0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } fn remove_parachain_error() -> Weight { - Weight::from_ref_time(0_u64) + Weight::from_parts(0_u64,0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallets/staking/Cargo.toml b/pallets/staking/Cargo.toml index 3b8d31349..f7f5d6629 100644 --- a/pallets/staking/Cargo.toml +++ b/pallets/staking/Cargo.toml @@ -14,25 +14,25 @@ scale-info = { version = "2.0.0", default-features = false, features = ["derive" primitives = { package = "spacewalk-primitives", path = "../../primitives", default-features = false } # Substrate dependencies -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false, optional = true } # note: can be remove after removal of migration -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } [dev-dependencies] mocktopus = "0.8.0" rand = "0.8.3" -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } currency = { path = "../currency", default-features = false, features = ["testing-constants"] } diff --git a/pallets/stellar-relay/Cargo.toml b/pallets/stellar-relay/Cargo.toml index 6c99d0aac..5ed6c2d00 100644 --- a/pallets/stellar-relay/Cargo.toml +++ b/pallets/stellar-relay/Cargo.toml @@ -19,27 +19,27 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = ] } serde = { version = '1.0.100', default-features = false, features = ['derive'] } scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } -frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.37" } -frame-system = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.37" } -frame-benchmarking = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.37", optional = true } +frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" } +frame-system = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" } +frame-benchmarking = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40", optional = true } -sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.37" } -sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.37" } +sp-std = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" } +sp-core = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" } currency = { default-features = false, path = "../currency" } -substrate-stellar-sdk = { git = "https://github.com/pendulum-chain/substrate-stellar-sdk", branch = "polkadot-v0.9.37", default-features = false, features = ["all-types"] } +substrate-stellar-sdk = { git = "https://github.com/pendulum-chain/substrate-stellar-sdk", branch = "polkadot-v0.9.40", default-features = false, features = ["all-types"] } sha2 = { version = "0.10.6", default-features = false } primitives = { package = "spacewalk-primitives", path = "../../primitives", default-features = false } [dev-dependencies] -sp-io = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.37" } -sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.37" } +sp-io = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" } +sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" } # Orml dependencies -orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37" } -orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37" } +orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40" } +orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40" } # For testing rand = "0.8.5" diff --git a/pallets/stellar-relay/src/default_weights.rs b/pallets/stellar-relay/src/default_weights.rs index e9eac513e..1a9a6c274 100644 --- a/pallets/stellar-relay/src/default_weights.rs +++ b/pallets/stellar-relay/src/default_weights.rs @@ -1,64 +1,61 @@ -//! Autogenerated weights for stellar_relay +//! Autogenerated weights for `stellar_relay` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `100`, REPEAT: 10, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `MacBook-Pro`, CPU: `` -//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-05-24, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `Bs-MacBook-Pro.local`, CPU: `` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: // ./target/release/spacewalk-standalone // benchmark // pallet -// --chain=dev -// --pallet=stellar-relay -// --extrinsic=* +// --chain +// dev +// --execution=wasm +// --wasm-execution=compiled +// --pallet +// * +// --extrinsic +// * // --steps=100 // --repeat=10 -// --wasm-execution=compiled -// --output=pallets/stellar-relay/src/default_weights.rs -// --template=.maintain/frame-weight-template.hbs +// --output +// pallets #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(clippy::unnecessary_cast)] -use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weight functions needed for stellar_relay. +/// Weight functions for `stellar_relay`. pub trait WeightInfo { fn update_tier_1_validator_set() -> Weight; } -/// Weights for stellar_relay using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - // Storage: StellarRelay Validators (r:1 w:1) - // Storage: StellarRelay Organizations (r:1 w:1) - // Storage: StellarRelay OldValidators (r:0 w:1) - // Storage: StellarRelay NewValidatorsEnactmentBlockHeight (r:0 w:1) - // Storage: StellarRelay OldOrganizations (r:0 w:1) + /// Storage: StellarRelay Validators (r:1 w:1) + /// Proof: StellarRelay Validators (max_values: Some(1), max_size: Some(70382), added: 70877, mode: MaxEncodedLen) + /// Storage: StellarRelay Organizations (r:1 w:1) + /// Proof: StellarRelay Organizations (max_values: Some(1), max_size: Some(37232), added: 37727, mode: MaxEncodedLen) + /// Storage: StellarRelay OldValidators (r:0 w:1) + /// Proof: StellarRelay OldValidators (max_values: Some(1), max_size: Some(70382), added: 70877, mode: MaxEncodedLen) + /// Storage: StellarRelay NewValidatorsEnactmentBlockHeight (r:0 w:1) + /// Proof: StellarRelay NewValidatorsEnactmentBlockHeight (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: StellarRelay OldOrganizations (r:0 w:1) + /// Proof: StellarRelay OldOrganizations (max_values: Some(1), max_size: Some(37232), added: 37727, mode: MaxEncodedLen) fn update_tier_1_validator_set() -> Weight { - // Minimum execution time: 136_000 nanoseconds. - Weight::from_ref_time(147_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `428` + // Estimated: `110584` + // Minimum execution time: 156_000_000 picoseconds. + Weight::from_parts(159_000_000, 0) + .saturating_add(Weight::from_parts(0, 110584)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(5)) } } - -// For backwards compatibility and tests -impl WeightInfo for () { - // Storage: StellarRelay Validators (r:1 w:1) - // Storage: StellarRelay Organizations (r:1 w:1) - // Storage: StellarRelay OldValidators (r:0 w:1) - // Storage: StellarRelay NewValidatorsEnactmentBlockHeight (r:0 w:1) - // Storage: StellarRelay OldOrganizations (r:0 w:1) - fn update_tier_1_validator_set() -> Weight { - // Minimum execution time: 136_000 nanoseconds. - Weight::from_ref_time(147_000_000 as u64) - .saturating_add(RocksDbWeight::get().reads(2 as u64)) - .saturating_add(RocksDbWeight::get().writes(5 as u64)) - } -} \ No newline at end of file diff --git a/pallets/stellar-relay/src/lib.rs b/pallets/stellar-relay/src/lib.rs index 7dd94e284..18f7a9f8a 100644 --- a/pallets/stellar-relay/src/lib.rs +++ b/pallets/stellar-relay/src/lib.rs @@ -87,7 +87,6 @@ pub mod pallet { } #[pallet::pallet] - #[pallet::generate_store(pub (super) trait Store)] pub struct Pallet(_); // Pallets use events to inform users when important changes are made. diff --git a/pallets/stellar-relay/src/mock.rs b/pallets/stellar-relay/src/mock.rs index 27d40b4a2..5f749b77a 100644 --- a/pallets/stellar-relay/src/mock.rs +++ b/pallets/stellar-relay/src/mock.rs @@ -76,7 +76,7 @@ impl pallet_spacewalk_relay::Config for Test { type OrganizationLimit = OrganizationLimit; type ValidatorLimit = ValidatorLimit; type IsPublicNetwork = IsPublicNetwork; - type WeightInfo = (); + type WeightInfo = pallet_spacewalk_relay::SubstrateWeight; } fn create_bounded_vec(input: &[T]) -> Result, Error> { diff --git a/pallets/vault-registry/Cargo.toml b/pallets/vault-registry/Cargo.toml index f6219cd77..784bfdd78 100644 --- a/pallets/vault-registry/Cargo.toml +++ b/pallets/vault-registry/Cargo.toml @@ -15,19 +15,19 @@ log = {version = "0.4.14", default-features = false} visibility = {version = "0.0.1", optional = true} # Substrate dependencies -sp-arithmetic = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -sp-core = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -sp-io = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -sp-runtime = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -sp-std = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} +sp-arithmetic = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-core = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-io = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-runtime = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-std = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} -frame-benchmarking = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false, optional = true} -frame-support = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -frame-system = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -pallet-timestamp = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} +frame-benchmarking = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false, optional = true} +frame-support = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +frame-system = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-timestamp = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} -substrate-stellar-sdk = {git = "https://github.com/pendulum-chain/substrate-stellar-sdk", branch = "polkadot-v0.9.37", default-features = false, features = ["all-types"]} +substrate-stellar-sdk = {git = "https://github.com/pendulum-chain/substrate-stellar-sdk", branch = "polkadot-v0.9.40", default-features = false, features = ["all-types"]} # Parachain dependencies currency = {path = "../currency", default-features = false} @@ -39,14 +39,14 @@ security = {path = "../security", default-features = false} staking = {path = "../staking", default-features = false} # Orml dependencies -orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } -orml-tokens = {git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false} -orml-traits = {git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false} +orml-currencies = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } +orml-tokens = {git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false} +orml-traits = {git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false} [dev-dependencies] currency = {path = "../currency", default-features = false, features = ["testing-utils", "testing-constants"]} security = { path = "../security", features = ['testing-utils'] } -frame-benchmarking = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} +frame-benchmarking = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} oracle = { path = "../oracle", features = ['testing-utils'] } mocktopus = "0.8.0" pretty_assertions = "0.7.2" diff --git a/pallets/vault-registry/rpc/Cargo.toml b/pallets/vault-registry/rpc/Cargo.toml index 0a30c03df..bdd7017d8 100644 --- a/pallets/vault-registry/rpc/Cargo.toml +++ b/pallets/vault-registry/rpc/Cargo.toml @@ -9,6 +9,6 @@ codec = {package = "parity-scale-codec", version = "3.0.0"} jsonrpsee = {version = "0.16.0", features = ["server", "macros"]} module-oracle-rpc-runtime-api = {path = '../../oracle/rpc/runtime-api'} module-vault-registry-rpc-runtime-api = {path = "runtime-api"} -sp-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37"} -sp-blockchain = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37"} -sp-runtime = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37"} +sp-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40"} +sp-blockchain = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40"} +sp-runtime = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40"} diff --git a/pallets/vault-registry/rpc/runtime-api/Cargo.toml b/pallets/vault-registry/rpc/runtime-api/Cargo.toml index a592e01cb..96f5fcbc3 100644 --- a/pallets/vault-registry/rpc/runtime-api/Cargo.toml +++ b/pallets/vault-registry/rpc/runtime-api/Cargo.toml @@ -6,10 +6,10 @@ version = '0.3.0' [dependencies] codec = {package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"]} -frame-support = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} +frame-support = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} module-oracle-rpc-runtime-api = {path = '../../../oracle/rpc/runtime-api', default-features = false} -sp-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -sp-std = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} +sp-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-std = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} [features] default = ["std"] diff --git a/pallets/vault-registry/rpc/src/lib.rs b/pallets/vault-registry/rpc/src/lib.rs index 403231122..0b885a54f 100644 --- a/pallets/vault-registry/rpc/src/lib.rs +++ b/pallets/vault-registry/rpc/src/lib.rs @@ -10,7 +10,6 @@ use module_oracle_rpc_runtime_api::BalanceWrapper; use sp_api::ProvideRuntimeApi; use sp_blockchain::HeaderBackend; use sp_runtime::{ - generic::BlockId, traits::{Block as BlockT, MaybeDisplay, MaybeFromStr}, DispatchError, }; @@ -163,10 +162,10 @@ where at: Option<::Hash>, ) -> RpcResult> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); + let at = at.unwrap_or_else(|| self.client.info().best_hash); handle_response( - api.get_vault_collateral(&at, vault_id), + api.get_vault_collateral(at, vault_id), "Unable to get the vault's collateral".into(), ) } @@ -177,10 +176,10 @@ where at: Option<::Hash>, ) -> RpcResult> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); + let at = at.unwrap_or_else(|| self.client.info().best_hash); handle_response( - api.get_vaults_by_account_id(&at, account_id), + api.get_vaults_by_account_id(at, account_id), "Unable to get vault ids".into(), ) } @@ -191,10 +190,10 @@ where at: Option<::Hash>, ) -> RpcResult> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); + let at = at.unwrap_or_else(|| self.client.info().best_hash); handle_response( - api.get_vault_total_collateral(&at, vault_id), + api.get_vault_total_collateral(at, vault_id), "Unable to get the vault's collateral".into(), ) } @@ -204,10 +203,10 @@ where at: Option<::Hash>, ) -> RpcResult)>> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); + let at = at.unwrap_or_else(|| self.client.info().best_hash); handle_response( - api.get_premium_redeem_vaults(&at), + api.get_premium_redeem_vaults(at), "Unable to find a vault below the premium redeem threshold".into(), ) } @@ -217,10 +216,10 @@ where at: Option<::Hash>, ) -> RpcResult)>> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); + let at = at.unwrap_or_else(|| self.client.info().best_hash); handle_response( - api.get_vaults_with_issuable_tokens(&at), + api.get_vaults_with_issuable_tokens(at), "Unable to find a vault with issuable tokens".into(), ) } @@ -230,10 +229,10 @@ where at: Option<::Hash>, ) -> RpcResult)>> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); + let at = at.unwrap_or_else(|| self.client.info().best_hash); handle_response( - api.get_vaults_with_redeemable_tokens(&at), + api.get_vaults_with_redeemable_tokens(at), "Unable to find a vault with redeemable tokens".into(), ) } @@ -244,10 +243,10 @@ where at: Option<::Hash>, ) -> RpcResult> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); + let at = at.unwrap_or_else(|| self.client.info().best_hash); handle_response( - api.get_issuable_tokens_from_vault(&at, vault), + api.get_issuable_tokens_from_vault(at, vault), "Unable to get issuable tokens from vault".into(), ) } @@ -259,10 +258,10 @@ where at: Option<::Hash>, ) -> RpcResult { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); + let at = at.unwrap_or_else(|| self.client.info().best_hash); handle_response( - api.get_collateralization_from_vault(&at, vault, only_issued), + api.get_collateralization_from_vault(at, vault, only_issued), "Unable to get collateralization from vault".into(), ) } @@ -275,15 +274,10 @@ where at: Option<::Hash>, ) -> RpcResult { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); + let at = at.unwrap_or_else(|| self.client.info().best_hash); handle_response( - api.get_collateralization_from_vault_and_collateral( - &at, - vault, - collateral, - only_issued, - ), + api.get_collateralization_from_vault_and_collateral(at, vault, collateral, only_issued), "Unable to get collateralization from vault".into(), ) } @@ -296,11 +290,11 @@ where at: Option<::Hash>, ) -> RpcResult> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); + let at = at.unwrap_or_else(|| self.client.info().best_hash); handle_response( api.get_required_collateral_for_wrapped( - &at, + at, amount_wrapped, wrapped_currency_id, collateral_currency_id, @@ -315,9 +309,9 @@ where at: Option<::Hash>, ) -> RpcResult> { let api = self.client.runtime_api(); - let at = BlockId::hash(at.unwrap_or_else(|| self.client.info().best_hash)); + let at = at.unwrap_or_else(|| self.client.info().best_hash); handle_response( - api.get_required_collateral_for_vault(&at, vault_id), + api.get_required_collateral_for_vault(at, vault_id), "Unable to get required collateral for vault".into(), ) } diff --git a/pallets/vault-registry/src/default_weights.rs b/pallets/vault-registry/src/default_weights.rs index be567efed..fd526d907 100644 --- a/pallets/vault-registry/src/default_weights.rs +++ b/pallets/vault-registry/src/default_weights.rs @@ -1,33 +1,37 @@ -//! Autogenerated weights for vault_registry +//! Autogenerated weights for `vault_registry` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-20, STEPS: `100`, REPEAT: 10, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `MacBook-Pro`, CPU: `` -//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! DATE: 2023-05-24, STEPS: `100`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `Bs-MacBook-Pro.local`, CPU: `` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: // ./target/release/spacewalk-standalone // benchmark // pallet -// --chain=dev -// --pallet=vault-registry -// --extrinsic=* +// --chain +// dev +// --execution=wasm +// --wasm-execution=compiled +// --pallet +// * +// --extrinsic +// * // --steps=100 // --repeat=10 -// --wasm-execution=compiled -// --output=pallets/vault-registry/src/default_weights.rs -// --template=./.maintain/frame-weight-template.hbs +// --output +// pallets #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -#![allow(clippy::unnecessary_cast)] -use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; -/// Weight functions needed for vault_registry. +/// Weight functions for `vault_registry`. pub trait WeightInfo { fn register_vault() -> Weight; fn deposit_collateral() -> Weight; @@ -45,319 +49,292 @@ pub trait WeightInfo { fn set_punishment_delay() -> Weight; } -/// Weights for vault_registry using the Substrate node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { - // Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) - // Storage: VaultRegistry PremiumRedeemThreshold (r:1 w:0) - // Storage: VaultRegistry LiquidationCollateralThreshold (r:1 w:0) - // Storage: VaultRegistry MinimumCollateralVault (r:1 w:0) - // Storage: VaultRegistry SystemCollateralCeiling (r:1 w:0) - // Storage: VaultRegistry VaultStellarPublicKey (r:1 w:0) - // Storage: VaultRegistry Vaults (r:1 w:1) - // Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) - // Storage: Tokens Accounts (r:1 w:1) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking Stake (r:1 w:1) - // Storage: VaultStaking SlashPerToken (r:1 w:0) - // Storage: VaultStaking SlashTally (r:1 w:1) - // Storage: VaultStaking TotalStake (r:1 w:1) - // Storage: VaultStaking TotalCurrentStake (r:1 w:1) - // Storage: VaultStaking RewardTally (r:2 w:2) - // Storage: VaultStaking RewardPerToken (r:2 w:0) + /// Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) + /// Proof Skipped: VaultRegistry SecureCollateralThreshold (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry PremiumRedeemThreshold (r:1 w:0) + /// Proof Skipped: VaultRegistry PremiumRedeemThreshold (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry LiquidationCollateralThreshold (r:1 w:0) + /// Proof Skipped: VaultRegistry LiquidationCollateralThreshold (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry MinimumCollateralVault (r:1 w:0) + /// Proof Skipped: VaultRegistry MinimumCollateralVault (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry SystemCollateralCeiling (r:1 w:0) + /// Proof Skipped: VaultRegistry SystemCollateralCeiling (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry VaultStellarPublicKey (r:1 w:0) + /// Proof Skipped: VaultRegistry VaultStellarPublicKey (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry Vaults (r:1 w:1) + /// Proof Skipped: VaultRegistry Vaults (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) + /// Proof Skipped: VaultRegistry TotalUserVaultCollateral (max_values: None, max_size: None, mode: Measured) + /// Storage: Tokens Accounts (r:1 w:1) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(150), added: 2625, mode: MaxEncodedLen) + /// Storage: VaultStaking Nonce (r:1 w:0) + /// Proof Skipped: VaultStaking Nonce (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking Stake (r:1 w:1) + /// Proof Skipped: VaultStaking Stake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking SlashPerToken (r:1 w:0) + /// Proof Skipped: VaultStaking SlashPerToken (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking SlashTally (r:1 w:1) + /// Proof Skipped: VaultStaking SlashTally (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalStake (r:1 w:1) + /// Proof Skipped: VaultStaking TotalStake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalCurrentStake (r:1 w:1) + /// Proof Skipped: VaultStaking TotalCurrentStake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking RewardTally (r:2 w:2) + /// Proof Skipped: VaultStaking RewardTally (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking RewardPerToken (r:2 w:0) + /// Proof Skipped: VaultStaking RewardPerToken (max_values: None, max_size: None, mode: Measured) fn register_vault() -> Weight { - // Minimum execution time: 80_000 nanoseconds. - Weight::from_ref_time(83_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(19 as u64)) - .saturating_add(T::DbWeight::get().writes(9 as u64)) + // Proof Size summary in bytes: + // Measured: `1700` + // Estimated: `91205` + // Minimum execution time: 120_000_000 picoseconds. + Weight::from_parts(124_000_000, 0) + .saturating_add(Weight::from_parts(0, 91205)) + .saturating_add(T::DbWeight::get().reads(19)) + .saturating_add(T::DbWeight::get().writes(9)) } - // Storage: VaultRegistry Vaults (r:1 w:0) - // Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) - // Storage: VaultRegistry SystemCollateralCeiling (r:1 w:0) - // Storage: Tokens Accounts (r:1 w:1) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking Stake (r:1 w:1) - // Storage: VaultStaking SlashPerToken (r:1 w:0) - // Storage: VaultStaking SlashTally (r:1 w:1) - // Storage: VaultStaking TotalStake (r:1 w:1) - // Storage: VaultStaking TotalCurrentStake (r:1 w:1) - // Storage: VaultStaking RewardTally (r:2 w:2) - // Storage: VaultStaking RewardPerToken (r:2 w:0) - // Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) - // Storage: Security ParachainStatus (r:1 w:0) + /// Storage: VaultRegistry Vaults (r:1 w:0) + /// Proof Skipped: VaultRegistry Vaults (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) + /// Proof Skipped: VaultRegistry TotalUserVaultCollateral (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry SystemCollateralCeiling (r:1 w:0) + /// Proof Skipped: VaultRegistry SystemCollateralCeiling (max_values: None, max_size: None, mode: Measured) + /// Storage: Tokens Accounts (r:1 w:1) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(150), added: 2625, mode: MaxEncodedLen) + /// Storage: VaultStaking Nonce (r:1 w:0) + /// Proof Skipped: VaultStaking Nonce (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking Stake (r:1 w:1) + /// Proof Skipped: VaultStaking Stake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking SlashPerToken (r:1 w:0) + /// Proof Skipped: VaultStaking SlashPerToken (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking SlashTally (r:1 w:1) + /// Proof Skipped: VaultStaking SlashTally (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalStake (r:1 w:1) + /// Proof Skipped: VaultStaking TotalStake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalCurrentStake (r:1 w:1) + /// Proof Skipped: VaultStaking TotalCurrentStake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking RewardTally (r:2 w:2) + /// Proof Skipped: VaultStaking RewardTally (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking RewardPerToken (r:2 w:0) + /// Proof Skipped: VaultStaking RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) + /// Proof Skipped: VaultRegistry SecureCollateralThreshold (max_values: None, max_size: None, mode: Measured) + /// Storage: Security ParachainStatus (r:1 w:0) + /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) fn deposit_collateral() -> Weight { - // Minimum execution time: 95_000 nanoseconds. - Weight::from_ref_time(100_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(16 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Proof Size summary in bytes: + // Measured: `2691` + // Estimated: `86613` + // Minimum execution time: 138_000_000 picoseconds. + Weight::from_parts(139_000_000, 0) + .saturating_add(Weight::from_parts(0, 86613)) + .saturating_add(T::DbWeight::get().reads(16)) + .saturating_add(T::DbWeight::get().writes(8)) } - // Storage: VaultRegistry Vaults (r:1 w:0) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking TotalCurrentStake (r:1 w:1) - // Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: VaultStaking Stake (r:1 w:1) - // Storage: VaultStaking SlashPerToken (r:1 w:0) - // Storage: VaultStaking SlashTally (r:1 w:1) - // Storage: VaultRegistry PremiumRedeemThreshold (r:1 w:0) - // Storage: Tokens Accounts (r:1 w:1) - // Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) - // Storage: VaultStaking TotalStake (r:1 w:1) - // Storage: VaultStaking RewardTally (r:2 w:2) - // Storage: VaultStaking RewardPerToken (r:2 w:0) + /// Storage: VaultRegistry Vaults (r:1 w:0) + /// Proof Skipped: VaultRegistry Vaults (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking Nonce (r:1 w:0) + /// Proof Skipped: VaultStaking Nonce (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalCurrentStake (r:1 w:1) + /// Proof Skipped: VaultStaking TotalCurrentStake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) + /// Proof Skipped: VaultRegistry SecureCollateralThreshold (max_values: None, max_size: None, mode: Measured) + /// Storage: Security ParachainStatus (r:1 w:0) + /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: VaultStaking Stake (r:1 w:1) + /// Proof Skipped: VaultStaking Stake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking SlashPerToken (r:1 w:0) + /// Proof Skipped: VaultStaking SlashPerToken (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking SlashTally (r:1 w:1) + /// Proof Skipped: VaultStaking SlashTally (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry PremiumRedeemThreshold (r:1 w:0) + /// Proof Skipped: VaultRegistry PremiumRedeemThreshold (max_values: None, max_size: None, mode: Measured) + /// Storage: Tokens Accounts (r:1 w:1) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(150), added: 2625, mode: MaxEncodedLen) + /// Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) + /// Proof Skipped: VaultRegistry TotalUserVaultCollateral (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalStake (r:1 w:1) + /// Proof Skipped: VaultStaking TotalStake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking RewardTally (r:2 w:2) + /// Proof Skipped: VaultStaking RewardTally (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking RewardPerToken (r:2 w:0) + /// Proof Skipped: VaultStaking RewardPerToken (max_values: None, max_size: None, mode: Measured) fn withdraw_collateral() -> Weight { - // Minimum execution time: 97_000 nanoseconds. - Weight::from_ref_time(100_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(16 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Proof Size summary in bytes: + // Measured: `2698` + // Estimated: `86704` + // Minimum execution time: 145_000_000 picoseconds. + Weight::from_parts(148_000_000, 0) + .saturating_add(Weight::from_parts(0, 86704)) + .saturating_add(T::DbWeight::get().reads(16)) + .saturating_add(T::DbWeight::get().writes(8)) } - // Storage: VaultRegistry VaultStellarPublicKey (r:1 w:1) + /// Storage: VaultRegistry VaultStellarPublicKey (r:1 w:1) + /// Proof Skipped: VaultRegistry VaultStellarPublicKey (max_values: None, max_size: None, mode: Measured) fn register_public_key() -> Weight { - // Minimum execution time: 16_000 nanoseconds. - Weight::from_ref_time(16_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `334` + // Estimated: `3799` + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(15_000_000, 0) + .saturating_add(Weight::from_parts(0, 3799)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VaultRegistry Vaults (r:1 w:1) + /// Storage: VaultRegistry Vaults (r:1 w:1) + /// Proof Skipped: VaultRegistry Vaults (max_values: None, max_size: None, mode: Measured) fn accept_new_issues() -> Weight { - // Minimum execution time: 11_000 nanoseconds. - Weight::from_ref_time(12_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `584` + // Estimated: `4049` + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(15_000_000, 0) + .saturating_add(Weight::from_parts(0, 4049)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) - // Storage: VaultRegistry Vaults (r:1 w:1) + /// Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) + /// Proof Skipped: VaultRegistry SecureCollateralThreshold (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry Vaults (r:1 w:1) + /// Proof Skipped: VaultRegistry Vaults (max_values: None, max_size: None, mode: Measured) fn set_custom_secure_threshold() -> Weight { - // Minimum execution time: 16_000 nanoseconds. - Weight::from_ref_time(17_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `717` + // Estimated: `8364` + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(18_000_000, 0) + .saturating_add(Weight::from_parts(0, 8364)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VaultRegistry MinimumCollateralVault (r:0 w:1) + /// Storage: VaultRegistry MinimumCollateralVault (r:0 w:1) + /// Proof Skipped: VaultRegistry MinimumCollateralVault (max_values: None, max_size: None, mode: Measured) fn set_minimum_collateral() -> Weight { - // Minimum execution time: 5_000 nanoseconds. - Weight::from_ref_time(6_000_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VaultRegistry SystemCollateralCeiling (r:0 w:1) + /// Storage: VaultRegistry SystemCollateralCeiling (r:0 w:1) + /// Proof Skipped: VaultRegistry SystemCollateralCeiling (max_values: None, max_size: None, mode: Measured) fn set_system_collateral_ceiling() -> Weight { - // Minimum execution time: 6_000 nanoseconds. - Weight::from_ref_time(6_000_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VaultRegistry SecureCollateralThreshold (r:0 w:1) + /// Storage: VaultRegistry SecureCollateralThreshold (r:0 w:1) + /// Proof Skipped: VaultRegistry SecureCollateralThreshold (max_values: None, max_size: None, mode: Measured) fn set_secure_collateral_threshold() -> Weight { - // Minimum execution time: 5_000 nanoseconds. - Weight::from_ref_time(5_000_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VaultRegistry PremiumRedeemThreshold (r:0 w:1) + /// Storage: VaultRegistry PremiumRedeemThreshold (r:0 w:1) + /// Proof Skipped: VaultRegistry PremiumRedeemThreshold (max_values: None, max_size: None, mode: Measured) fn set_premium_redeem_threshold() -> Weight { - // Minimum execution time: 5_000 nanoseconds. - Weight::from_ref_time(6_000_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VaultRegistry LiquidationCollateralThreshold (r:0 w:1) + /// Storage: VaultRegistry LiquidationCollateralThreshold (r:0 w:1) + /// Proof Skipped: VaultRegistry LiquidationCollateralThreshold (max_values: None, max_size: None, mode: Measured) fn set_liquidation_collateral_threshold() -> Weight { - // Minimum execution time: 5_000 nanoseconds. - Weight::from_ref_time(6_000_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VaultRegistry Vaults (r:1 w:1) - // Storage: VaultRegistry LiquidationCollateralThreshold (r:1 w:0) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking TotalCurrentStake (r:1 w:1) - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: VaultStaking Stake (r:1 w:1) - // Storage: VaultStaking SlashPerToken (r:1 w:0) - // Storage: VaultStaking SlashTally (r:1 w:1) - // Storage: VaultStaking TotalStake (r:1 w:1) - // Storage: VaultStaking RewardTally (r:2 w:2) - // Storage: VaultStaking RewardPerToken (r:2 w:0) - // Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) - // Storage: Tokens Accounts (r:2 w:2) - // Storage: System Account (r:2 w:1) - // Storage: VaultRegistry SystemCollateralCeiling (r:1 w:0) - // Storage: VaultRegistry LiquidationVault (r:1 w:1) - // Storage: VaultRewards Stake (r:1 w:1) - // Storage: VaultRewards TotalStake (r:1 w:1) - // Storage: VaultRewards RewardTally (r:2 w:2) - // Storage: VaultRewards RewardPerToken (r:2 w:0) + /// Storage: VaultRegistry Vaults (r:1 w:1) + /// Proof Skipped: VaultRegistry Vaults (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry LiquidationCollateralThreshold (r:1 w:0) + /// Proof Skipped: VaultRegistry LiquidationCollateralThreshold (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking Nonce (r:1 w:0) + /// Proof Skipped: VaultStaking Nonce (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalCurrentStake (r:1 w:1) + /// Proof Skipped: VaultStaking TotalCurrentStake (max_values: None, max_size: None, mode: Measured) + /// Storage: Security ParachainStatus (r:1 w:0) + /// Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: VaultStaking Stake (r:1 w:1) + /// Proof Skipped: VaultStaking Stake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking SlashPerToken (r:1 w:0) + /// Proof Skipped: VaultStaking SlashPerToken (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking SlashTally (r:1 w:1) + /// Proof Skipped: VaultStaking SlashTally (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking TotalStake (r:1 w:1) + /// Proof Skipped: VaultStaking TotalStake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking RewardTally (r:2 w:2) + /// Proof Skipped: VaultStaking RewardTally (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultStaking RewardPerToken (r:2 w:0) + /// Proof Skipped: VaultStaking RewardPerToken (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) + /// Proof Skipped: VaultRegistry TotalUserVaultCollateral (max_values: None, max_size: None, mode: Measured) + /// Storage: Tokens Accounts (r:2 w:2) + /// Proof: Tokens Accounts (max_values: None, max_size: Some(150), added: 2625, mode: MaxEncodedLen) + /// Storage: System Account (r:2 w:1) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: VaultRegistry SystemCollateralCeiling (r:1 w:0) + /// Proof Skipped: VaultRegistry SystemCollateralCeiling (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRegistry LiquidationVault (r:1 w:1) + /// Proof Skipped: VaultRegistry LiquidationVault (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards Stake (r:1 w:1) + /// Proof Skipped: VaultRewards Stake (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards TotalStake (r:1 w:1) + /// Proof Skipped: VaultRewards TotalStake (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: VaultRewards RewardTally (r:2 w:2) + /// Proof Skipped: VaultRewards RewardTally (max_values: None, max_size: None, mode: Measured) + /// Storage: VaultRewards RewardPerToken (r:2 w:0) + /// Proof Skipped: VaultRewards RewardPerToken (max_values: None, max_size: None, mode: Measured) fn report_undercollateralized_vault() -> Weight { - // Minimum execution time: 178_000 nanoseconds. - Weight::from_ref_time(181_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(26 as u64)) - .saturating_add(T::DbWeight::get().writes(16 as u64)) + // Proof Size summary in bytes: + // Measured: `3470` + // Estimated: `143206` + // Minimum execution time: 298_000_000 picoseconds. + Weight::from_parts(300_000_000, 0) + .saturating_add(Weight::from_parts(0, 143206)) + .saturating_add(T::DbWeight::get().reads(26)) + .saturating_add(T::DbWeight::get().writes(16)) } - // Storage: VaultRegistry Vaults (r:1 w:1) + /// Storage: VaultRegistry Vaults (r:1 w:1) + /// Proof Skipped: VaultRegistry Vaults (max_values: None, max_size: None, mode: Measured) fn recover_vault_id() -> Weight { - // Minimum execution time: 13_000 nanoseconds. - Weight::from_ref_time(14_000_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `583` + // Estimated: `4048` + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) + .saturating_add(Weight::from_parts(0, 4048)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } - // Storage: VaultRegistry PunishmentDelay (r:0 w:1) + /// Storage: VaultRegistry PunishmentDelay (r:0 w:1) + /// Proof Skipped: VaultRegistry PunishmentDelay (max_values: Some(1), max_size: None, mode: Measured) fn set_punishment_delay() -> Weight { - // Minimum execution time: 5_000 nanoseconds. - Weight::from_ref_time(5_000_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(5_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) + .saturating_add(T::DbWeight::get().writes(1)) } } - -// For backwards compatibility and tests -impl WeightInfo for () { - // Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) - // Storage: VaultRegistry PremiumRedeemThreshold (r:1 w:0) - // Storage: VaultRegistry LiquidationCollateralThreshold (r:1 w:0) - // Storage: VaultRegistry MinimumCollateralVault (r:1 w:0) - // Storage: VaultRegistry SystemCollateralCeiling (r:1 w:0) - // Storage: VaultRegistry VaultStellarPublicKey (r:1 w:0) - // Storage: VaultRegistry Vaults (r:1 w:1) - // Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) - // Storage: Tokens Accounts (r:1 w:1) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking Stake (r:1 w:1) - // Storage: VaultStaking SlashPerToken (r:1 w:0) - // Storage: VaultStaking SlashTally (r:1 w:1) - // Storage: VaultStaking TotalStake (r:1 w:1) - // Storage: VaultStaking TotalCurrentStake (r:1 w:1) - // Storage: VaultStaking RewardTally (r:2 w:2) - // Storage: VaultStaking RewardPerToken (r:2 w:0) - fn register_vault() -> Weight { - // Minimum execution time: 80_000 nanoseconds. - Weight::from_ref_time(83_000_000 as u64) - .saturating_add(RocksDbWeight::get().reads(19 as u64)) - .saturating_add(RocksDbWeight::get().writes(9 as u64)) - } - // Storage: VaultRegistry Vaults (r:1 w:0) - // Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) - // Storage: VaultRegistry SystemCollateralCeiling (r:1 w:0) - // Storage: Tokens Accounts (r:1 w:1) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking Stake (r:1 w:1) - // Storage: VaultStaking SlashPerToken (r:1 w:0) - // Storage: VaultStaking SlashTally (r:1 w:1) - // Storage: VaultStaking TotalStake (r:1 w:1) - // Storage: VaultStaking TotalCurrentStake (r:1 w:1) - // Storage: VaultStaking RewardTally (r:2 w:2) - // Storage: VaultStaking RewardPerToken (r:2 w:0) - // Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) - // Storage: Security ParachainStatus (r:1 w:0) - fn deposit_collateral() -> Weight { - // Minimum execution time: 95_000 nanoseconds. - Weight::from_ref_time(100_000_000 as u64) - .saturating_add(RocksDbWeight::get().reads(16 as u64)) - .saturating_add(RocksDbWeight::get().writes(8 as u64)) - } - // Storage: VaultRegistry Vaults (r:1 w:0) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking TotalCurrentStake (r:1 w:1) - // Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: VaultStaking Stake (r:1 w:1) - // Storage: VaultStaking SlashPerToken (r:1 w:0) - // Storage: VaultStaking SlashTally (r:1 w:1) - // Storage: VaultRegistry PremiumRedeemThreshold (r:1 w:0) - // Storage: Tokens Accounts (r:1 w:1) - // Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) - // Storage: VaultStaking TotalStake (r:1 w:1) - // Storage: VaultStaking RewardTally (r:2 w:2) - // Storage: VaultStaking RewardPerToken (r:2 w:0) - fn withdraw_collateral() -> Weight { - // Minimum execution time: 97_000 nanoseconds. - Weight::from_ref_time(100_000_000 as u64) - .saturating_add(RocksDbWeight::get().reads(16 as u64)) - .saturating_add(RocksDbWeight::get().writes(8 as u64)) - } - // Storage: VaultRegistry VaultStellarPublicKey (r:1 w:1) - fn register_public_key() -> Weight { - // Minimum execution time: 16_000 nanoseconds. - Weight::from_ref_time(16_000_000 as u64) - .saturating_add(RocksDbWeight::get().reads(1 as u64)) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) - } - // Storage: VaultRegistry Vaults (r:1 w:1) - fn accept_new_issues() -> Weight { - // Minimum execution time: 11_000 nanoseconds. - Weight::from_ref_time(12_000_000 as u64) - .saturating_add(RocksDbWeight::get().reads(1 as u64)) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) - } - // Storage: VaultRegistry SecureCollateralThreshold (r:1 w:0) - // Storage: VaultRegistry Vaults (r:1 w:1) - fn set_custom_secure_threshold() -> Weight { - // Minimum execution time: 16_000 nanoseconds. - Weight::from_ref_time(17_000_000 as u64) - .saturating_add(RocksDbWeight::get().reads(2 as u64)) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) - } - // Storage: VaultRegistry MinimumCollateralVault (r:0 w:1) - fn set_minimum_collateral() -> Weight { - // Minimum execution time: 5_000 nanoseconds. - Weight::from_ref_time(6_000_000 as u64) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) - } - // Storage: VaultRegistry SystemCollateralCeiling (r:0 w:1) - fn set_system_collateral_ceiling() -> Weight { - // Minimum execution time: 6_000 nanoseconds. - Weight::from_ref_time(6_000_000 as u64) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) - } - // Storage: VaultRegistry SecureCollateralThreshold (r:0 w:1) - fn set_secure_collateral_threshold() -> Weight { - // Minimum execution time: 5_000 nanoseconds. - Weight::from_ref_time(5_000_000 as u64) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) - } - // Storage: VaultRegistry PremiumRedeemThreshold (r:0 w:1) - fn set_premium_redeem_threshold() -> Weight { - // Minimum execution time: 5_000 nanoseconds. - Weight::from_ref_time(6_000_000 as u64) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) - } - // Storage: VaultRegistry LiquidationCollateralThreshold (r:0 w:1) - fn set_liquidation_collateral_threshold() -> Weight { - // Minimum execution time: 5_000 nanoseconds. - Weight::from_ref_time(6_000_000 as u64) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) - } - // Storage: VaultRegistry Vaults (r:1 w:1) - // Storage: VaultRegistry LiquidationCollateralThreshold (r:1 w:0) - // Storage: VaultStaking Nonce (r:1 w:0) - // Storage: VaultStaking TotalCurrentStake (r:1 w:1) - // Storage: Security ParachainStatus (r:1 w:0) - // Storage: VaultStaking Stake (r:1 w:1) - // Storage: VaultStaking SlashPerToken (r:1 w:0) - // Storage: VaultStaking SlashTally (r:1 w:1) - // Storage: VaultStaking TotalStake (r:1 w:1) - // Storage: VaultStaking RewardTally (r:2 w:2) - // Storage: VaultStaking RewardPerToken (r:2 w:0) - // Storage: VaultRegistry TotalUserVaultCollateral (r:1 w:1) - // Storage: Tokens Accounts (r:2 w:2) - // Storage: System Account (r:2 w:1) - // Storage: VaultRegistry SystemCollateralCeiling (r:1 w:0) - // Storage: VaultRegistry LiquidationVault (r:1 w:1) - // Storage: VaultRewards Stake (r:1 w:1) - // Storage: VaultRewards TotalStake (r:1 w:1) - // Storage: VaultRewards RewardTally (r:2 w:2) - // Storage: VaultRewards RewardPerToken (r:2 w:0) - fn report_undercollateralized_vault() -> Weight { - // Minimum execution time: 178_000 nanoseconds. - Weight::from_ref_time(181_000_000 as u64) - .saturating_add(RocksDbWeight::get().reads(26 as u64)) - .saturating_add(RocksDbWeight::get().writes(16 as u64)) - } - // Storage: VaultRegistry Vaults (r:1 w:1) - fn recover_vault_id() -> Weight { - // Minimum execution time: 13_000 nanoseconds. - Weight::from_ref_time(14_000_000 as u64) - .saturating_add(RocksDbWeight::get().reads(1 as u64)) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) - } - // Storage: VaultRegistry PunishmentDelay (r:0 w:1) - fn set_punishment_delay() -> Weight { - // Minimum execution time: 5_000 nanoseconds. - Weight::from_ref_time(5_000_000 as u64) - .saturating_add(RocksDbWeight::get().writes(1 as u64)) - } -} \ No newline at end of file diff --git a/pallets/vault-registry/src/lib.rs b/pallets/vault-registry/src/lib.rs index 4bb00eac6..f888c0c47 100644 --- a/pallets/vault-registry/src/lib.rs +++ b/pallets/vault-registry/src/lib.rs @@ -69,7 +69,6 @@ pub mod pallet { use super::*; #[pallet::pallet] - #[pallet::generate_store(trait Store)] #[pallet::without_storage_info] // vault struct contains vec which doesn't implement MaxEncodedLen pub struct Pallet(_); diff --git a/pallets/vault-registry/src/mock.rs b/pallets/vault-registry/src/mock.rs index 9e7bddd68..c0460f667 100644 --- a/pallets/vault-registry/src/mock.rs +++ b/pallets/vault-registry/src/mock.rs @@ -196,7 +196,7 @@ impl pallet_timestamp::Config for Test { impl oracle::Config for Test { type RuntimeEvent = TestEvent; - type WeightInfo = (); + type WeightInfo = oracle::SubstrateWeight; type DataProvider = DiaOracleAdapter< MockDiaOracle, UnsignedFixedPoint, @@ -246,7 +246,7 @@ parameter_types! { impl fee::Config for Test { type FeePalletId = FeePalletId; - type WeightInfo = (); + type WeightInfo = fee::SubstrateWeight; type SignedFixedPoint = SignedFixedPoint; type SignedInner = SignedInner; type UnsignedFixedPoint = UnsignedFixedPoint; @@ -265,7 +265,7 @@ impl Config for Test { type PalletId = VaultPalletId; type RuntimeEvent = TestEvent; type Balance = Balance; - type WeightInfo = (); + type WeightInfo = vault_registry::SubstrateWeight; type GetGriefingCollateralCurrencyId = GetNativeCurrencyId; } diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index 480e7ddb7..4b57e8213 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -11,13 +11,13 @@ scale-info = { version = "2.1.1", default-features = false, features = ["derive" serde = { version = "1.0.130", default-features = false, optional = true } base58 = { version = "0.2.0" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.37" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.40" } -substrate-stellar-sdk = { git = "https://github.com/pendulum-chain/substrate-stellar-sdk", branch = "polkadot-v0.9.37", default-features = false, features = ['offchain'] } +substrate-stellar-sdk = { git = "https://github.com/pendulum-chain/substrate-stellar-sdk", branch = "polkadot-v0.9.40", default-features = false, features = ['offchain'] } [features] default = ["std"] diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index 23cccb821..b76f8f7a4 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -18,15 +18,15 @@ module-oracle-rpc = { path = "../pallets/oracle/rpc" } module-vault-registry-rpc = { path = "../pallets/vault-registry/rpc" } # Substrate dependencies -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } diff --git a/testchain/node/Cargo.toml b/testchain/node/Cargo.toml index 686394ef4..9d25081b3 100644 --- a/testchain/node/Cargo.toml +++ b/testchain/node/Cargo.toml @@ -12,7 +12,7 @@ targets = ["x86_64-unknown-linux-gnu"] name = "spacewalk-standalone" [build-dependencies] -substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } [dependencies] clap = { version = "4.0.26", features = ["derive"] } @@ -29,43 +29,43 @@ spacewalk-rpc = { path = "../../rpc" } spacewalk-runtime = { package = "spacewalk-runtime-standalone", path = "../runtime" } # Substrate dependencies -sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.37" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-consensus-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-consensus-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-keyring = { git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -pallet-transaction-payment = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.37" } +pallet-transaction-payment = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.40" } -substrate-stellar-sdk = { git = "https://github.com/pendulum-chain/substrate-stellar-sdk", branch = "polkadot-v0.9.37" } +substrate-stellar-sdk = { git = "https://github.com/pendulum-chain/substrate-stellar-sdk", branch = "polkadot-v0.9.40" } [features] default = [] diff --git a/testchain/node/src/chain_spec.rs b/testchain/node/src/chain_spec.rs index 98b396ba4..9d8590deb 100644 --- a/testchain/node/src/chain_spec.rs +++ b/testchain/node/src/chain_spec.rs @@ -6,8 +6,8 @@ use hex_literal::hex; use sc_service::ChainType; use sp_arithmetic::{FixedPointNumber, FixedU128}; use sp_consensus_aura::sr25519::AuthorityId as AuraId; +use sp_consensus_grandpa::AuthorityId as GrandpaId; use sp_core::{crypto::UncheckedInto, sr25519, Pair, Public}; -use sp_finality_grandpa::AuthorityId as GrandpaId; use sp_runtime::traits::{IdentifyAccount, Verify}; use primitives::{oracle::Key, CurrencyId, VaultCurrencyPair}; @@ -451,7 +451,7 @@ fn testnet_genesis( AssetId::new(b"FIAT".to_vec(), b"MXN-USD".to_vec()), AssetId::new(b"Stellar".to_vec(), b"XLM".to_vec()), ], - batching_api: b"http://localhost:8070/currencies".to_vec(), + batching_api: b"https://dia-00.pendulumchain.tech:8070/currencies".to_vec(), coin_infos_map: vec![], }, } diff --git a/testchain/node/src/cli.rs b/testchain/node/src/cli.rs index dd610477a..58069092e 100644 --- a/testchain/node/src/cli.rs +++ b/testchain/node/src/cli.rs @@ -10,6 +10,7 @@ pub struct Cli { } #[derive(Debug, clap::Subcommand)] +#[allow(clippy::large_enum_variant)] //todo: fix large size difference between variants pub enum Subcommand { /// Key management cli utilities #[command(subcommand)] diff --git a/testchain/node/src/command.rs b/testchain/node/src/command.rs index c85b46a73..014da3f23 100644 --- a/testchain/node/src/command.rs +++ b/testchain/node/src/command.rs @@ -127,7 +127,7 @@ pub fn run() -> Result<()> { let PartialComponents { client, task_manager, backend, .. } = spacewalk_service::new_partial(&config, false)?; let aux_revert = Box::new(|client, _, blocks| { - sc_finality_grandpa::revert(client, blocks)?; + sc_consensus_grandpa::revert(client, blocks)?; Ok(()) }); Ok((cmd.run(client, backend, Some(aux_revert)), task_manager)) diff --git a/testchain/node/src/service.rs b/testchain/node/src/service.rs index 546cbe0cb..f03b553d8 100644 --- a/testchain/node/src/service.rs +++ b/testchain/node/src/service.rs @@ -3,8 +3,8 @@ use std::{sync::Arc, time::Duration}; use futures::StreamExt; use sc_client_api::BlockBackend; use sc_consensus_aura::{ImportQueueParams, SlotProportion, StartAuraParams}; +use sc_consensus_grandpa::SharedVoterState; use sc_executor::NativeElseWasmExecutor; -use sc_finality_grandpa::SharedVoterState; use sc_keystore::LocalKeystore; use sc_service::{ error::Error as ServiceError, Configuration, RpcHandlers, TFullBackend, TFullClient, @@ -43,6 +43,7 @@ pub type FullBackend = TFullBackend; type FullSelectChain = sc_consensus::LongestChain; #[allow(clippy::type_complexity)] +#[allow(clippy::redundant_clone)] pub fn new_partial( config: &Configuration, instant_seal: bool, @@ -54,13 +55,13 @@ pub fn new_partial( sc_consensus::DefaultImportQueue, sc_transaction_pool::FullPool, ( - sc_finality_grandpa::GrandpaBlockImport< + sc_consensus_grandpa::GrandpaBlockImport< FullBackend, Block, FullClient, FullSelectChain, >, - sc_finality_grandpa::LinkHalf, + sc_consensus_grandpa::LinkHalf, Option, ), >, @@ -118,7 +119,7 @@ pub fn new_partial( client.clone(), ); - let (grandpa_block_import, grandpa_link) = sc_finality_grandpa::block_import( + let (grandpa_block_import, grandpa_link) = sc_consensus_grandpa::block_import( client.clone(), &(client.clone() as Arc<_>), select_chain.clone(), @@ -202,7 +203,7 @@ pub fn new_full(mut config: Configuration) -> Result<(TaskManager, RpcHandlers), }; } - let grandpa_protocol_name = sc_finality_grandpa::protocol_standard_name( + let grandpa_protocol_name = sc_consensus_grandpa::protocol_standard_name( &client.block_hash(0).ok().flatten().expect("Genesis block exists; qed"), &config.chain_spec, ); @@ -210,9 +211,9 @@ pub fn new_full(mut config: Configuration) -> Result<(TaskManager, RpcHandlers), config .network .extra_sets - .push(sc_finality_grandpa::grandpa_peers_set_config(grandpa_protocol_name.clone())); + .push(sc_consensus_grandpa::grandpa_peers_set_config(grandpa_protocol_name.clone())); - let (network, system_rpc_tx, tx_handler_controller, network_starter) = + let (network, system_rpc_tx, tx_handler_controller, network_starter, sync_service) = sc_service::build_network(sc_service::BuildNetworkParams { config: &config, client: client.clone(), @@ -220,7 +221,7 @@ pub fn new_full(mut config: Configuration) -> Result<(TaskManager, RpcHandlers), spawn_handle: task_manager.spawn_handle(), import_queue, block_announce_validator_builder: None, - warp_sync: None, + warp_sync_params: None, })?; if config.offchain_worker.enabled { @@ -275,9 +276,10 @@ pub fn new_full(mut config: Configuration) -> Result<(TaskManager, RpcHandlers), rpc_builder, backend, system_rpc_tx, + tx_handler_controller, config, telemetry: telemetry.as_mut(), - tx_handler_controller, + sync_service: sync_service.clone(), })?; if role.is_authority() { @@ -312,8 +314,8 @@ pub fn new_full(mut config: Configuration) -> Result<(TaskManager, RpcHandlers), force_authoring, backoff_authoring_blocks, keystore: keystore_container.sync_keystore(), - sync_oracle: network.clone(), - justification_sync_link: network.clone(), + sync_oracle: sync_service.clone(), + justification_sync_link: sync_service.clone(), block_proposal_slot_portion: SlotProportion::new(2f32 / 3f32), max_block_proposal_slot_portion: None, telemetry: telemetry.as_ref().map(|x| x.handle()), @@ -331,7 +333,7 @@ pub fn new_full(mut config: Configuration) -> Result<(TaskManager, RpcHandlers), let keystore = if role.is_authority() { Some(keystore_container.sync_keystore()) } else { None }; - let grandpa_config = sc_finality_grandpa::Config { + let grandpa_config = sc_consensus_grandpa::Config { // FIXME #1578 make this available through chainspec gossip_duration: Duration::from_millis(333), justification_period: 512, @@ -350,11 +352,12 @@ pub fn new_full(mut config: Configuration) -> Result<(TaskManager, RpcHandlers), // and vote data availability than the observer. The observer has not // been tested extensively yet and having most nodes in a network run it // could lead to finality stalls. - let grandpa_config = sc_finality_grandpa::GrandpaParams { + let grandpa_config = sc_consensus_grandpa::GrandpaParams { config: grandpa_config, link: grandpa_link, network, - voting_rule: sc_finality_grandpa::VotingRulesBuilder::default().build(), + sync: Arc::new(sync_service), + voting_rule: sc_consensus_grandpa::VotingRulesBuilder::default().build(), prometheus_registry, shared_voter_state: SharedVoterState::empty(), telemetry: telemetry.as_ref().map(|x| x.handle()), @@ -365,7 +368,7 @@ pub fn new_full(mut config: Configuration) -> Result<(TaskManager, RpcHandlers), task_manager.spawn_essential_handle().spawn_blocking( "grandpa-voter", None, - sc_finality_grandpa::run_grandpa_voter(grandpa_config)?, + sc_consensus_grandpa::run_grandpa_voter(grandpa_config)?, ); } @@ -388,7 +391,7 @@ pub async fn start_instant( other: (_, _, mut telemetry), } = new_partial(&config, true)?; - let (network, system_rpc_tx, tx_handler_controller, network_starter) = + let (network, system_rpc_tx, tx_handler_controller, network_starter, sync_service) = sc_service::build_network(sc_service::BuildNetworkParams { config: &config, client: client.clone(), @@ -396,7 +399,7 @@ pub async fn start_instant( spawn_handle: task_manager.spawn_handle(), import_queue, block_announce_validator_builder: None, - warp_sync: None, + warp_sync_params: None, })?; if config.offchain_worker.enabled { @@ -476,17 +479,18 @@ pub async fn start_instant( }; let rpc_handlers = sc_service::spawn_tasks(sc_service::SpawnTasksParams { - rpc_builder: Box::new(rpc_builder), + network, client, - transaction_pool, - task_manager: &mut task_manager, - config, keystore: keystore_container.sync_keystore(), + task_manager: &mut task_manager, + transaction_pool, + rpc_builder: Box::new(rpc_builder), backend, - network, system_rpc_tx, tx_handler_controller, + config, telemetry: telemetry.as_mut(), + sync_service, })?; network_starter.start_network(); diff --git a/testchain/runtime/Cargo.toml b/testchain/runtime/Cargo.toml index f6894c331..f01ede188 100644 --- a/testchain/runtime/Cargo.toml +++ b/testchain/runtime/Cargo.toml @@ -17,43 +17,43 @@ lazy_static = "1.4.0" spin = { version = "0.9.4", features = ["mutex"] } # Substrate dependencies -sp-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -sp-block-builder = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -sp-core = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -sp-inherents = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -sp-io = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -sp-offchain = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -sp-runtime = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -sp-session = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -sp-std = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -sp-transaction-pool = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -sp-version = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} - -frame-executive = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -frame-support = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -frame-system = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -pallet-balances = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -pallet-sudo = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -pallet-timestamp = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -pallet-transaction-payment = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} - -frame-system-rpc-runtime-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -pallet-transaction-payment-rpc-runtime-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} +sp-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-block-builder = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-core = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-inherents = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-io = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-offchain = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-runtime = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-session = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-std = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-transaction-pool = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-version = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} + +frame-executive = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +frame-support = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +frame-system = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +pallet-balances = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +pallet-sudo = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +pallet-timestamp = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +pallet-transaction-payment = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} + +frame-system-rpc-runtime-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +pallet-transaction-payment-rpc-runtime-api = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} # Used for runtime benchmarking -frame-benchmarking = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false, optional = true} -frame-system-benchmarking = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false, optional = true} +frame-benchmarking = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false, optional = true} +frame-system-benchmarking = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false, optional = true} hex-literal = {version = "0.3.4", optional = true, default-features = false} # Aura & GRANDPA dependencies -pallet-aura = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -pallet-grandpa = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} -sp-consensus-aura = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37", default-features = false} +pallet-aura = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +pallet-grandpa = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} +sp-consensus-aura = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false} # Orml dependencies -orml-currencies = {git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false} -orml-tokens = {git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false} -orml-traits = {git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false} +orml-currencies = {git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false} +orml-tokens = {git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false} +orml-traits = {git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false} currency = {path = "../../pallets/currency", default-features = false} fee = {path = "../../pallets/fee", default-features = false} @@ -76,8 +76,8 @@ module-vault-registry-rpc-runtime-api = {path = "../../pallets/vault-registry/rp primitives = {package = "spacewalk-primitives", path = "../../primitives", default-features = false} -orml-oracle = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.37", default-features = false } -dia-oracle = { git = "https://github.com/pendulum-chain/oracle-pallet", branch = "polkadot-v0.9.37", default-features = false } +orml-oracle = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.40", default-features = false } +dia-oracle = { git = "https://github.com/pendulum-chain/oracle-pallet", branch = "polkadot-v0.9.40", default-features = false } [dev-dependencies] flate2 = "1.0" @@ -87,7 +87,7 @@ pretty_assertions = "0.7.2" serde_json = "1.0" [build-dependencies] -substrate-wasm-builder = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.37"} +substrate-wasm-builder = {git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40"} [features] default = ["std"] diff --git a/testchain/runtime/src/lib.rs b/testchain/runtime/src/lib.rs index 74f31984f..835133257 100644 --- a/testchain/runtime/src/lib.rs +++ b/testchain/runtime/src/lib.rs @@ -10,7 +10,7 @@ use codec::Encode; pub use dia_oracle::dia::*; use frame_support::{ construct_runtime, parameter_types, - traits::{ConstU128, ConstU8, Contains, KeyOwnerProofSystem}, + traits::{ConstU128, ConstU64, ConstU8, Contains}, weights::{constants::WEIGHT_REF_TIME_PER_SECOND, ConstantMultiplier, IdentityFee, Weight}, PalletId, }; @@ -24,7 +24,7 @@ use pallet_grandpa::{ pub use pallet_timestamp::Call as TimestampCall; use sp_api::impl_runtime_apis; use sp_consensus_aura::sr25519::AuthorityId as AuraId; -use sp_core::{crypto::KeyTypeId, OpaqueMetadata, H256}; +use sp_core::{OpaqueMetadata, H256}; use sp_runtime::{ create_runtime_str, generic, impl_opaque_keys, traits::{ @@ -115,7 +115,7 @@ parameter_types! { /// We allow for 2 seconds of compute with a 6 second average block time. pub BlockWeights: frame_system::limits::BlockWeights = frame_system::limits::BlockWeights::with_sensible_defaults( - (2u64 * Weight::from_ref_time(WEIGHT_REF_TIME_PER_SECOND)).set_proof_size(u64::MAX), + (2u64 * Weight::from_parts(WEIGHT_REF_TIME_PER_SECOND,0)).set_proof_size(u64::MAX), NORMAL_DISPATCH_RATIO, ); pub BlockLength: frame_system::limits::BlockLength = frame_system::limits::BlockLength @@ -176,16 +176,11 @@ impl pallet_aura::Config for Runtime { impl pallet_grandpa::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type KeyOwnerProof = - >::Proof; - type KeyOwnerIdentification = >::IdentificationTuple; - type KeyOwnerProofSystem = (); - type HandleEquivocation = (); + type KeyOwnerProof = sp_core::Void; type WeightInfo = (); type MaxAuthorities = MaxAuthorities; + type MaxSetIdSessionEntries = ConstU64<0>; + type EquivocationReportSystem = (); } parameter_types! { @@ -317,7 +312,7 @@ impl reward::Config for Runtime { impl security::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type WeightInfo = (); + type WeightInfo = security::SubstrateWeight; } pub struct CurrencyConvert; @@ -364,14 +359,14 @@ impl stellar_relay::Config for Runtime { type OrganizationLimit = OrganizationLimit; type ValidatorLimit = ValidatorLimit; type IsPublicNetwork = IsPublicNetwork; - type WeightInfo = (); + type WeightInfo = stellar_relay::SubstrateWeight; } impl vault_registry::Config for Runtime { type PalletId = VaultRegistryPalletId; type RuntimeEvent = RuntimeEvent; type Balance = Balance; - type WeightInfo = (); + type WeightInfo = vault_registry::SubstrateWeight; type GetGriefingCollateralCurrencyId = GetRelayChainCurrencyId; } @@ -387,7 +382,7 @@ impl dia_oracle::Config for Runtime { type RuntimeEvent = RuntimeEvent; type RuntimeCall = RuntimeCall; type AuthorityId = dia_oracle::crypto::DiaAuthId; - type WeightInfo = (); + type WeightInfo = dia_oracle::weights::DiaWeightInfo; } impl frame_system::offchain::SigningTypes for Runtime { @@ -520,7 +515,7 @@ cfg_if::cfg_if! { impl oracle::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type WeightInfo = (); + type WeightInfo = oracle::SubstrateWeight; type DataProvider = DataProviderImpl; #[cfg(any(feature = "runtime-benchmarks", feature = "testing-utils"))] @@ -530,17 +525,17 @@ impl oracle::Config for Runtime { impl issue::Config for Runtime { type RuntimeEvent = RuntimeEvent; type BlockNumberToBalance = BlockNumberToBalance; - type WeightInfo = (); + type WeightInfo = issue::SubstrateWeight; } impl redeem::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type WeightInfo = (); + type WeightInfo = redeem::SubstrateWeight; } impl replace::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type WeightInfo = (); + type WeightInfo = replace::SubstrateWeight; } parameter_types! { @@ -549,7 +544,7 @@ parameter_types! { impl fee::Config for Runtime { type FeePalletId = FeePalletId; - type WeightInfo = (); + type WeightInfo = fee::SubstrateWeight; type SignedFixedPoint = SignedFixedPoint; type SignedInner = SignedInner; type UnsignedFixedPoint = UnsignedFixedPoint; @@ -562,7 +557,7 @@ impl fee::Config for Runtime { impl nomination::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type WeightInfo = (); + type WeightInfo = nomination::SubstrateWeight; } construct_runtime! { @@ -781,6 +776,14 @@ impl_runtime_apis! { ) -> pallet_transaction_payment_rpc_runtime_api::FeeDetails { TransactionPayment::query_fee_details(uxt, len) } + + fn query_weight_to_fee(weight: Weight) -> Balance { + TransactionPayment::weight_to_fee(weight) + } + + fn query_length_to_fee(length: u32) -> Balance { + TransactionPayment::length_to_fee(length) + } } #[cfg(feature = "runtime-benchmarks")]